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:
ca26c1a
)
new SSLError
author
Kenneth Reitz
<me@kennethreitz.com>
Wed, 28 Dec 2011 07:43:03 +0000
(
02:43
-0500)
committer
Kenneth Reitz
<me@kennethreitz.com>
Wed, 28 Dec 2011 07:43:03 +0000
(
02:43
-0500)
requests/exceptions.py
patch
|
blob
|
history
diff --git
a/requests/exceptions.py
b/requests/exceptions.py
index d0f8f39a96097f9aa7c7d01b2820652bcf1bb7ec..c7b98e6f85b98cf95543a6bba0150186de149d8e 100644
(file)
--- a/
requests/exceptions.py
+++ b/
requests/exceptions.py
@@
-18,6
+18,9
@@
class HTTPError(RequestException):
class ConnectionError(RequestException):
"""A Connection error occurred."""
+class SSLError(ConnectionError):
+ """An SSL error occurred."""
+
class Timeout(RequestException):
"""The request timed out."""