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
d0f8f39
..
c7b98e6
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."""