new ConnectionError for bad APIs :)

This commit is contained in:
Kenneth Reitz
2011-11-09 15:30:47 -08:00
parent 6a51f6b2f8
commit 1d2abea94b
+2 -2
View File
@@ -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."""