aboutsummaryrefslogtreecommitdiff
path: root/requests/exceptions.py
diff options
context:
space:
mode:
authorSVN-Git Migration <python-modules-team@lists.alioth.debian.org>2015-10-08 13:41:19 -0700
committerSVN-Git Migration <python-modules-team@lists.alioth.debian.org>2015-10-08 13:41:19 -0700
commit365ef510aa3581a79709673e078401724601fc71 (patch)
tree44b2c6aae568684e93eb598d7a2069c1867fdaaf /requests/exceptions.py
parent1c0a691ebf468d42b7c0d6b0e9daf0b2ff82cc20 (diff)
downloadpython-requests-365ef510aa3581a79709673e078401724601fc71.tar
python-requests-365ef510aa3581a79709673e078401724601fc71.tar.gz
Imported Upstream version 0.10.1
Diffstat (limited to 'requests/exceptions.py')
-rw-r--r--requests/exceptions.py7
1 files changed, 5 insertions, 2 deletions
diff --git a/requests/exceptions.py b/requests/exceptions.py
index d20a95c..c7b98e6 100644
--- a/requests/exceptions.py
+++ b/requests/exceptions.py
@@ -13,10 +13,13 @@ class RequestException(Exception):
request."""
class HTTPError(RequestException):
- """An HTTP error occured."""
+ """An HTTP error occurred."""
class ConnectionError(RequestException):
- """A Connection error occured."""
+ """A Connection error occurred."""
+
+class SSLError(ConnectionError):
+ """An SSL error occurred."""
class Timeout(RequestException):
"""The request timed out."""