Skip to content

Conversation

oxisto
Copy link
Collaborator

@oxisto oxisto commented Nov 30, 2021

Fixes #135 by implementing Is(err) bool for the ValidationError. It both checks
for the actual inner error message as well as our error flags for maximum backwards compatibility

@mfridman mfridman self-requested a review November 30, 2021 17:57
@oxisto oxisto force-pushed the validation-error-is branch from f9abfd6 to 0bcf64b Compare November 30, 2021 18:00
Fixes #135 by implementing `Is(err) bool` for the `ValidationError`. It both checks
for the actual inner error message as well as our error flags for maximum backwards compatibility
@oxisto oxisto force-pushed the validation-error-is branch from 0bcf64b to 278eb3c Compare November 30, 2021 18:09
@oxisto oxisto force-pushed the validation-error-is branch from 529ffb4 to 3eafb35 Compare November 30, 2021 18:33
@oxisto oxisto marked this pull request as ready for review November 30, 2021 18:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Consistent inner errors for validation errors
2 participants