new SSLError
authorKenneth Reitz <me@kennethreitz.com>
Wed, 28 Dec 2011 07:43:03 +0000 (02:43 -0500)
committerKenneth Reitz <me@kennethreitz.com>
Wed, 28 Dec 2011 07:43:03 +0000 (02:43 -0500)
requests/exceptions.py

index d0f8f39..c7b98e6 100644 (file)
@@ -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."""