ExcΒΆ

exception heatclient.exc.BadRequest(message=None, code=None)

Bases: heatclient.exc.HTTPException

DEPRECATED.

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

Bases: exceptions.Exception

An error occurred.

exception heatclient.exc.CommandError(message=None)

Bases: heatclient.exc.BaseException

Invalid usage of CLI.

exception heatclient.exc.CommunicationError(message=None)

Bases: heatclient.exc.BaseException

Unable to communicate with server.

exception heatclient.exc.Conflict(message=None, code=None)

Bases: heatclient.exc.HTTPException

DEPRECATED.

code = 409
exception heatclient.exc.EndpointNotFound

Bases: exceptions.Exception

DEPRECATED.

exception heatclient.exc.Forbidden(message=None, code=None)

Bases: heatclient.exc.HTTPException

DEPRECATED.

code = 403
exception heatclient.exc.HTTPBadGateway(message=None, code=None)

Bases: heatclient.exc.HTTPException

code = 502
exception heatclient.exc.HTTPBadRequest(message=None, code=None)

Bases: heatclient.exc.BadRequest

exception heatclient.exc.HTTPConflict(message=None, code=None)

Bases: heatclient.exc.Conflict

exception heatclient.exc.HTTPException(message=None, code=None)

Bases: heatclient.exc.BaseException

Base exception for all HTTP-derived exceptions.

code = 'N/A'
exception heatclient.exc.HTTPForbidden(message=None, code=None)

Bases: heatclient.exc.Forbidden

exception heatclient.exc.HTTPInternalServerError(message=None, code=None)

Bases: heatclient.exc.HTTPException

code = 500
exception heatclient.exc.HTTPMethodNotAllowed(message=None, code=None)

Bases: heatclient.exc.HTTPException

code = 405
exception heatclient.exc.HTTPMultipleChoices(message=None, code=None)

Bases: heatclient.exc.HTTPException

code = 300
exception heatclient.exc.HTTPNotFound(message=None, code=None)

Bases: heatclient.exc.NotFound

exception heatclient.exc.HTTPNotImplemented(message=None, code=None)

Bases: heatclient.exc.HTTPException

code = 501
exception heatclient.exc.HTTPOverLimit(message=None, code=None)

Bases: heatclient.exc.OverLimit

exception heatclient.exc.HTTPServiceUnavailable(message=None, code=None)

Bases: heatclient.exc.ServiceUnavailable

exception heatclient.exc.HTTPUnauthorized(message=None, code=None)

Bases: heatclient.exc.Unauthorized

exception heatclient.exc.HTTPUnsupported(message=None, code=None)

Bases: heatclient.exc.HTTPException

code = 415
exception heatclient.exc.InvalidEndpoint(message=None)

Bases: heatclient.exc.BaseException

The provided endpoint is invalid.

exception heatclient.exc.NoTokenLookupException

Bases: exceptions.Exception

DEPRECATED.

exception heatclient.exc.NotFound(message=None, code=None)

Bases: heatclient.exc.HTTPException

DEPRECATED.

code = 404
exception heatclient.exc.OverLimit(message=None, code=None)

Bases: heatclient.exc.HTTPException

DEPRECATED.

code = 413
exception heatclient.exc.ServiceUnavailable(message=None, code=None)

Bases: heatclient.exc.HTTPException

DEPRECATED.

code = 503
exception heatclient.exc.StackFailure

Bases: exceptions.Exception

exception heatclient.exc.Unauthorized(message=None, code=None)

Bases: heatclient.exc.HTTPException

DEPRECATED.

code = 401
heatclient.exc.from_response(response)

Return an instance of an HTTPException based on requests response.

heatclient.exc.obj

alias of HTTPUnsupported