-
Notifications
You must be signed in to change notification settings - Fork 68
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add support for multiple exceptions with the same status code (#565)
* Add client files. * Compile withExceptions code. * Add exceptions by status code to pave the way for updating the template. * Update logic for exceptions handling in HTTP clients. * Add withexceptions sample endpoint. * Run go fmt. * Fix tests. * Run gofmt. * Update after generate. * Add sort to preserve ordering. * Update example endpoint and client to avoid test failures. * Switch to use multierr. * Shorten log statement per review request. * Remove "= nil" from var initialization.
- Loading branch information
1 parent
a57c485
commit a389a84
Showing
37 changed files
with
3,785 additions
and
128 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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.