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

Exceptions for unexpected response status codes #193

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

aerubanov
Copy link
Contributor

This PR adds special exceptions to the unexpected response status code. This is more useful than raising Runtime Error because it provides more information about the reason of an exception - many different reasons can cause Runtime Error. Tests also added.

close #186

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.

Add a special exception for responses with 4xx status
1 participant