Skip to content
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

Add ClientError getters for common attributes #3251

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Commits on Sep 11, 2024

  1. 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.
    m-mortimer committed Sep 11, 2024
    Configuration menu
    Copy the full SHA
    c68b5d1 View commit details
    Browse the repository at this point in the history