#351 Be more specific in error messages.