-
Notifications
You must be signed in to change notification settings - Fork 4.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow statuses from compatible errors
Embues the status package with the ability to create statuses from generic errors that implement a special interface. This was designed with the github.com/gogo/protobuf project in mind, but is implemented in a fashion that makes it accessible to arbitrary payloads. Fixes #1885.
- Loading branch information
1 parent
fa28bef
commit d16829c
Showing
2 changed files
with
108 additions
and
3 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