glanceclient.exc module¶
-
exception
glanceclient.exc.
BadRequest
(details=None)¶ Bases:
glanceclient.exc.HTTPException
DEPRECATED!
-
code
= 400¶
-
-
exception
glanceclient.exc.
BaseException
(message=None)¶ Bases:
Exception
An error occurred.
-
exception
glanceclient.exc.
ClientException
¶ Bases:
Exception
DEPRECATED!
-
exception
glanceclient.exc.
CommandError
(message=None)¶ Bases:
glanceclient.exc.BaseException
Invalid usage of CLI.
-
exception
glanceclient.exc.
CommunicationError
(message=None)¶ Bases:
glanceclient.exc.BaseException
Unable to communicate with server.
-
exception
glanceclient.exc.
Conflict
(details=None)¶ Bases:
glanceclient.exc.HTTPException
DEPRECATED!
-
code
= 409¶
-
-
exception
glanceclient.exc.
EndpointNotFound
¶ Bases:
Exception
DEPRECATED!
-
exception
glanceclient.exc.
Forbidden
(details=None)¶ Bases:
glanceclient.exc.HTTPException
DEPRECATED!
-
code
= 403¶
-
-
exception
glanceclient.exc.
HTTPBadGateway
(details=None)¶ Bases:
glanceclient.exc.HTTPException
-
code
= 502¶
-
-
exception
glanceclient.exc.
HTTPBadRequest
(details=None)¶ Bases:
glanceclient.exc.BadRequest
-
exception
glanceclient.exc.
HTTPConflict
(details=None)¶ Bases:
glanceclient.exc.Conflict
-
exception
glanceclient.exc.
HTTPException
(details=None)¶ Bases:
glanceclient.exc.ClientException
Base exception for all HTTP-derived exceptions.
-
code
= 'N/A'¶
-
-
exception
glanceclient.exc.
HTTPForbidden
(details=None)¶ Bases:
glanceclient.exc.Forbidden
-
exception
glanceclient.exc.
HTTPInternalServerError
(details=None)¶ Bases:
glanceclient.exc.HTTPException
-
code
= 500¶
-
-
exception
glanceclient.exc.
HTTPMethodNotAllowed
(details=None)¶ Bases:
glanceclient.exc.HTTPException
-
code
= 405¶
-
-
exception
glanceclient.exc.
HTTPMultipleChoices
(details=None)¶ Bases:
glanceclient.exc.HTTPException
-
code
= 300¶
-
-
exception
glanceclient.exc.
HTTPNotFound
(details=None)¶ Bases:
glanceclient.exc.NotFound
-
exception
glanceclient.exc.
HTTPNotImplemented
(details=None)¶ Bases:
glanceclient.exc.HTTPException
-
code
= 501¶
-
-
exception
glanceclient.exc.
HTTPOverLimit
(details=None)¶ Bases:
glanceclient.exc.OverLimit
-
exception
glanceclient.exc.
InvalidEndpoint
(message=None)¶ Bases:
glanceclient.exc.BaseException
The provided endpoint is invalid.
-
exception
glanceclient.exc.
NoTokenLookupException
¶ Bases:
Exception
DEPRECATED!
-
exception
glanceclient.exc.
NotFound
(details=None)¶ Bases:
glanceclient.exc.HTTPException
DEPRECATED!
-
code
= 404¶
-
-
exception
glanceclient.exc.
OverLimit
(details=None)¶ Bases:
glanceclient.exc.HTTPException
DEPRECATED!
-
code
= 413¶
-
-
exception
glanceclient.exc.
SSLCertificateError
(message=None)¶
-
exception
glanceclient.exc.
SSLConfigurationError
(message=None)¶
Bases:
glanceclient.exc.HTTPException
DEPRECATED!
Bases:
glanceclient.exc.HTTPException
DEPRECATED!
-
glanceclient.exc.
from_response
(response, body=None)¶ Return an instance of an HTTPException based on httplib response.
-
glanceclient.exc.
obj
¶ alias of
glanceclient.exc.HTTPUnauthorized