-
Notifications
You must be signed in to change notification settings - Fork 87
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
Adding Error Handler #158
Adding Error Handler #158
Conversation
@alallema, be careful, GH did not add your issue as a |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ignore I meant to comment, not necessarily request changes
, sorry
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Amazing job @alallema !
I would add an Issue that details a little bit the Timeout handling that is included in this PR, and link it to the PR. Because this timeout change is not only related to the custom error handler, but actually adds some functionality to the HTTP client.
According to eskombro's comment: #158 (review)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Awesome!! Thanks @alallema!!
@alallema this PR is breaking since it changes the way the errors are raised |
Issue created |
Description
Adapt to the error handler of other SDKs with 3 main errors type:
Add the possibility to set a timeout in the client for all the requests passed.
Issue related
closes #149
closes #161