-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat!: Make IsAggregate work with Go-wrapped errors (#97)
Originally missed from #95. I've done a few other tweaks to existing code, but only is IsAggregate and Errors are visibly-changed (other methods may be slightly more performant). I've also added "IsError" tests for aggregated errors and fixed an issue where our custom IsNotFound logic didn't call `As(any) bool`.
- Loading branch information
1 parent
a6ba0d5
commit 1cff453
Showing
4 changed files
with
137 additions
and
55 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.