# glanceclient.exc module

exception glanceclient.exc.BadRequest(details=None)

  Bases: `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: `BaseException`

  Invalid usage of CLI.

exception glanceclient.exc.CommunicationError(message=None)

  Bases: `BaseException`

  Unable to communicate with server.

exception glanceclient.exc.Conflict(details=None)

  Bases: `HTTPException`

  DEPRECATED!

  code = 409

exception glanceclient.exc.EndpointNotFound

  Bases: `Exception`

  DEPRECATED!

exception glanceclient.exc.Forbidden(details=None)

  Bases: `HTTPException`

  DEPRECATED!

  code = 403

exception glanceclient.exc.HTTPBadGateway(details=None)

  Bases: `HTTPException`

  code = 502

exception glanceclient.exc.HTTPBadRequest(details=None)

  Bases: `BadRequest`

exception glanceclient.exc.HTTPConflict(details=None)

  Bases: `Conflict`

exception glanceclient.exc.HTTPException(details=None)

  Bases: `ClientException`

  Base exception for all HTTP-derived exceptions.

  code = 'N/A'

exception glanceclient.exc.HTTPForbidden(details=None)

  Bases: `Forbidden`

exception glanceclient.exc.HTTPInternalServerError(details=None)

  Bases: `HTTPException`

  code = 500

exception glanceclient.exc.HTTPMethodNotAllowed(details=None)

  Bases: `HTTPException`

  code = 405

exception glanceclient.exc.HTTPMultipleChoices(details=None)

  Bases: `HTTPException`

  code = 300

exception glanceclient.exc.HTTPNotFound(details=None)

  Bases: `NotFound`

exception glanceclient.exc.HTTPNotImplemented(details=None)

  Bases: `HTTPException`

  code = 501

exception glanceclient.exc.HTTPOverLimit(details=None)

  Bases: `OverLimit`

exception glanceclient.exc.HTTPServiceUnavailable(details=None)

  Bases: `ServiceUnavailable`

exception glanceclient.exc.HTTPUnauthorized(details=None)

  Bases: `Unauthorized`

exception glanceclient.exc.InvalidEndpoint(message=None)

  Bases: `BaseException`

  The provided endpoint is invalid.

exception glanceclient.exc.NoTokenLookupException

  Bases: `Exception`

  DEPRECATED!

exception glanceclient.exc.NotFound(details=None)

  Bases: `HTTPException`

  DEPRECATED!

  code = 404

exception glanceclient.exc.OverLimit(details=None)

  Bases: `HTTPException`

  DEPRECATED!

  code = 413

exception glanceclient.exc.SSLCertificateError(message=None)

  Bases: `BaseException`

exception glanceclient.exc.SSLConfigurationError(message=None)

  Bases: `BaseException`

exception glanceclient.exc.ServiceUnavailable(details=None)

  Bases: `HTTPException`

  DEPRECATED!

  code = 503

exception glanceclient.exc.Unauthorized(details=None)

  Bases: `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`

this page last updated: 2026-02-27 17:10:21

Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.

found an error? report a bug