diff options
author | Jamie Lennox <jamielennox@redhat.com> | 2013-09-23 11:50:57 +1000 |
---|---|---|
committer | Jamie Lennox <jamielennox@redhat.com> | 2013-12-03 12:00:03 +1000 |
commit | fd0a176a49b5ead812567018a00fc3db4b7f531a (patch) | |
tree | 491f28c357caf9f9342adda6d5e30aeaf2274769 /keystoneclient/exceptions.py | |
parent | 2477c334a25ae93638a63b889fc06a0b56a58641 (diff) | |
download | python-keystoneclient-fd0a176a49b5ead812567018a00fc3db4b7f531a.tar.gz |
Discover supported APIs
Allow discovery of the API versions a server supports and create an
appropriate client based on this.
Implements: blueprint api-version-discovery
Change-Id: I63e6759889066a784dc47e35152c82e1ead7951d
Diffstat (limited to 'keystoneclient/exceptions.py')
-rw-r--r-- | keystoneclient/exceptions.py | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/keystoneclient/exceptions.py b/keystoneclient/exceptions.py index df20ceb..5254c22 100644 --- a/keystoneclient/exceptions.py +++ b/keystoneclient/exceptions.py @@ -41,3 +41,11 @@ class SSLError(ConnectionError): class Timeout(ClientException): """The request timed out.""" + + +class DiscoveryFailure(ClientException): + """Discovery of client versions failed.""" + + +class VersionNotAvailable(DiscoveryFailure): + """Discovery failed as the version you requested is not available.""" |