I agree that would be nice; probably not near the top of our list right now (and not trivial to implement), but it makes sense. Thanks for the suggestion.
Is there any big downside to do it the boring way, hardcode a list and compare the error to the list?