-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Render Distinct Errors for Validation Failures
As a caller of `cybozu.validate` I want to take specific actions when certain validations errors occur. This changeset will render a distinct for every different type of validation that is configured for a given message. As a caller you will be able to use `errors.Is` to check for a specific validation error in the returned error chain.
- Loading branch information
1 parent
3f22069
commit 659e4ee
Showing
5 changed files
with
310 additions
and
196 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.