8000 Minor docs clarification on error messages by SamRemis · Pull Request #4517 · boto/boto3 · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Minor docs clarification on error messages #4517

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 28, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion docs/source/guide/error-handling.rst
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,8 @@ Botocore exceptions will have detailed error messaging when those exceptions are

Outside of specific error or exception details and messaging, you might want to extract additional metadata from error responses:

* *Exception class and error message* - You can use this data to build logic around, or in response to, these errors and exceptions.
* *Exception class* - You can use this data to build logic around, or in response to, these errors and exceptions.
* *Error message* - This data can help reason about the cause of the error and provide more context around the issue. These messages are subject to change and should not be relied upon in code.
* *Request ID and HTTP status code* - AWS service exceptions might still be vague or lacking in details. If this occurs, contacting customer support and providing the AWS service name, error, error message, and request ID could allow a support engineer to further look into your issue.

Using a low-level Amazon SQS client, here’s an example of catching a generic or vague exception from the AWS service, and parsing out useful metadata from the error response.
Expand Down
0