ExcΒΆ

exception glanceclient.exc.BadRequest(details=None)

Bases: glanceclient.exc.HTTPException

DEPRECATED!

code = 400
exception glanceclient.exc.BaseException(message=None)

Bases: exceptions.Exception

An error occurred.

exception glanceclient.exc.ClientException

Bases: exceptions.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: exceptions.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.HTTPServiceUnavailable(details=None)

Bases: glanceclient.exc.ServiceUnavailable

exception glanceclient.exc.HTTPUnauthorized(details=None)

Bases: glanceclient.exc.Unauthorized

exception glanceclient.exc.InvalidEndpoint(message=None)

Bases: glanceclient.exc.BaseException

The provided endpoint is invalid.

exception glanceclient.exc.NoTokenLookupException

Bases: exceptions.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)

Bases: glanceclient.exc.BaseException

exception glanceclient.exc.SSLConfigurationError(message=None)

Bases: glanceclient.exc.BaseException

exception glanceclient.exc.ServiceUnavailable(details=None)

Bases: glanceclient.exc.HTTPException

DEPRECATED!

code = 503
exception glanceclient.exc.Unauthorized(details=None)

Bases: glanceclient.exc.HTTPException

DEPRECATED!

code = 401
glanceclient.exc.from_response(response, body=None)

Return an instance of an HTTPException based on httplib response.

glanceclient.exc.obj

alias of HTTPUnauthorized