mirror of
https://github.com/kennethreitz/requests.git
synced 2026-06-05 22:50:18 +00:00
new ConnectionError for bad APIs :)
This commit is contained in:
@@ -15,8 +15,8 @@ class RequestException(Exception):
|
||||
class HTTPError(RequestException):
|
||||
"""An HTTP error occured."""
|
||||
|
||||
class AuthenticationError(RequestException):
|
||||
"""The authentication credentials provided were invalid."""
|
||||
class ConnectionError(RequestException):
|
||||
"""A Connection error occured."""
|
||||
|
||||
class Timeout(RequestException):
|
||||
"""The request timed out."""
|
||||
|
||||
Reference in New Issue
Block a user