Skip to content
Myr

new ConnectionError for bad APIs :)

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Kenneth Reitz · committed by Kenneth Reitz · parent 6a51f6b · Browse files · 1 file+2 added−2 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+2 added−2 removed

  • other:+2 added−2 removed

1 file+2 added−2 removed

modified:requests/exceptions.py+2 added-2 removed
13 unmodified lines
1415class HTTPError(RequestException):16 """An HTTP error occured."""1718class AuthenticationError(RequestException):19 """The authentication credentials provided were invalid."""18class ConnectionError(RequestException):19 """A Connection error occured."""2021class Timeout(RequestException):22 """The request timed out."""23
5 unmodified lines