So we're pattern-matching the error message in order to generate a more meaningful error? Is there any way to make this less strict and more reliable?