-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add ClientError getters for code, message, http_headers, http_status_…
…code, and request_id This change adds the following properties to the ClientError class. These properties will make it easier to work with the error object and extract information from it. - code: The error code returned by the service. - message: The error message returned by the service. - http_headers: The HTTP headers returned by the service. - http_status_code: The HTTP status code returned by the service. - request_id: The request ID returned by the service.
- Loading branch information
1 parent
1fd6e69
commit c68b5d1
Showing
2 changed files
with
36 additions
and
0 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