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

Improve error handling in ApiClient #2

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

Conversation

hamedsh
Copy link

@hamedsh hamedsh commented May 19, 2024

A more robust error handling strategy has been incorporated into the ApiClient, specifically in the request method. HTTP errors are now being caught and raised as ApiClientError exceptions, providing more specific and actionable error details. The commit also introduces minor code format changes for readability.

Note: This repository is auto-generated, and does not accept pull requests.

To make changes or open issues for this SDK, use the code generation repository.

A more robust error handling strategy has been incorporated into the ApiClient, specifically in the request method. HTTP errors are now being caught and raised as ApiClientError exceptions, providing more specific and actionable error details. The commit also introduces minor code format changes for readability.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant