diff options
author | Jamie Lennox <jamielennox@redhat.com> | 2013-09-30 10:35:55 +1000 |
---|---|---|
committer | Jamie Lennox <jamielennox@redhat.com> | 2013-11-28 09:20:43 +1000 |
commit | 2c5dcf9bf19d16e9ac8125ea571a94b4f37a3298 (patch) | |
tree | ebdb174418aedb4b496b2a229deb961a07c45085 /keystoneclient/exceptions.py | |
parent | 30ab23854c3411a0a4f03e5640b0dd596214e2e1 (diff) | |
download | python-keystoneclient-2c5dcf9bf19d16e9ac8125ea571a94b4f37a3298.tar.gz |
Extract a base Session object
A wrapper around a number of connection variables. This will be extended
later with principals such as Kerberos authentication and http sessions.
The intent is that this session object will become the basis for all
other client library communications in OpenStack (as keystone wants to
control things like authentication for everybody).
Change-Id: I8ee728c49d554659d7057ebf17d0f8ceea4d7d8e
Part of: blueprint auth-plugins
Diffstat (limited to 'keystoneclient/exceptions.py')
-rw-r--r-- | keystoneclient/exceptions.py | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/keystoneclient/exceptions.py b/keystoneclient/exceptions.py index a03ef80..df20ceb 100644 --- a/keystoneclient/exceptions.py +++ b/keystoneclient/exceptions.py @@ -29,3 +29,15 @@ class CertificateConfigError(Exception): msg = ("Unable to load certificate. " "Ensure your system is configured properly.") super(CertificateConfigError, self).__init__(msg) + + +class ConnectionError(ClientException): + """Something went wrong trying to connect to a server""" + + +class SSLError(ConnectionError): + """An SSL error occurred.""" + + +class Timeout(ClientException): + """The request timed out.""" |