The heatclient.exc Module

exception heatclient.exc.BadRequest(message=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)

Bases: heatclient.exc.HTTPException

DEPRECATED

code = 409
exception heatclient.exc.EndpointNotFound

Bases: exceptions.Exception

DEPRECATED

exception heatclient.exc.Forbidden(message=None)

Bases: heatclient.exc.HTTPException

DEPRECATED

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

Bases: heatclient.exc.HTTPException

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

Bases: heatclient.exc.BadRequest

exception heatclient.exc.HTTPConflict(message=None)

Bases: heatclient.exc.Conflict

exception heatclient.exc.HTTPException(message=None)

Bases: heatclient.exc.BaseException

Base exception for all HTTP-derived exceptions

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

Bases: heatclient.exc.Forbidden

exception heatclient.exc.HTTPInternalServerError(message=None)

Bases: heatclient.exc.HTTPException

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

Bases: heatclient.exc.HTTPException

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

Bases: heatclient.exc.HTTPException

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

Bases: heatclient.exc.NotFound

exception heatclient.exc.HTTPNotImplemented(message=None)

Bases: heatclient.exc.HTTPException

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

Bases: heatclient.exc.OverLimit

exception heatclient.exc.HTTPServiceUnavailable(message=None)

Bases: heatclient.exc.ServiceUnavailable

exception heatclient.exc.HTTPUnauthorized(message=None)

Bases: heatclient.exc.Unauthorized

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)

Bases: heatclient.exc.HTTPException

DEPRECATED

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

Bases: heatclient.exc.HTTPException

DEPRECATED

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

Bases: heatclient.exc.HTTPException

DEPRECATED

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

Bases: heatclient.exc.HTTPException

DEPRECATED

code = 401
heatclient.exc.from_response(response, body_iter)

Return an instance of an HTTPException based on httplib response.

heatclient.exc.obj

alias of HTTPUnauthorized

This Page