-
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.
chore: Remove details from govy.RuleError (#60)
## Motivation We're moving towards a more unified error message creation. The goal is to allow users to manipulate the error message however they see fit. With that in mind, `govy.RuleError` should have its `Message` field populated with a created error that is ready to be used as is and passed downstream. ## Related Changes - #10 - #59 ## Breaking Changes Removed `govy.RuleError.Details` field, the error's details are now part of the `govy.RuleError.Message` and not just the `govy.RuleError.Error()` output.
- Loading branch information
1 parent
37c523c
commit 10fa133
Showing
4 changed files
with
16 additions
and
16 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
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