Skip to content

Add HTTPResponseError to expose underlying http error codes and causes. - #30

Merged
griffinmyers merged 2 commits into
masterfrom
mikey/errors
May 18, 2018
Merged

Add HTTPResponseError to expose underlying http error codes and causes.#30
griffinmyers merged 2 commits into
masterfrom
mikey/errors

Conversation

@mikeybtn

@mikeybtn mikeybtn commented May 18, 2018

Copy link
Copy Markdown
Contributor

Makes it possible to distinguish different upstream API errors.

@mikeybtn
mikeybtn requested a review from griffinmyers May 18, 2018 02:36

@griffinmyers griffinmyers left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks much for submitting, @mikeybtn!

This looks good to me. I think we can release this under a minor version--because HTTPResponseError inherits from ButtonClientError, this should be entirely backwards compatible afaict.

Happy to cut a release--let me know.

@mikeybtn

Copy link
Copy Markdown
Contributor Author

Awesome! I tacked on 38cfbef with the version bump. Would you mind doing the honors, merge and publish at your leisure?

@griffinmyers
griffinmyers merged commit 654163e into master May 18, 2018
@griffinmyers
griffinmyers deleted the mikey/errors branch May 18, 2018 14:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants