projects
/
services
/
python-requests.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6a51f6b
)
new ConnectionError for bad APIs :)
author
Kenneth Reitz
<me@kennethreitz.com>
Wed, 9 Nov 2011 23:30:47 +0000
(15:30 -0800)
committer
Kenneth Reitz
<me@kennethreitz.com>
Wed, 9 Nov 2011 23:30:47 +0000
(15:30 -0800)
requests/exceptions.py
patch
|
blob
|
history
diff --git
a/requests/exceptions.py
b/requests/exceptions.py
index
16acd92
..
d20a95c
100644
(file)
--- a/
requests/exceptions.py
+++ b/
requests/exceptions.py
@@
-15,8
+15,8
@@
class RequestException(Exception):
class HTTPError(RequestException):
"""An HTTP error occured."""
-class
Authentica
tionError(RequestException):
- """
The authentication credentials provided were invali
d."""
+class
Connec
tionError(RequestException):
+ """
A Connection error occure
d."""
class Timeout(RequestException):
"""The request timed out."""