ExcΒΆ

exception heatclient.exc.BadRequest(message=None)

Bases: heatclient.exc.HTTPException

DEPRECATED.

BadRequest.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.

Conflict.code = 409
exception heatclient.exc.EndpointNotFound

Bases: exceptions.Exception

DEPRECATED.

exception heatclient.exc.Forbidden(message=None)

Bases: heatclient.exc.HTTPException

DEPRECATED.

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

Bases: heatclient.exc.HTTPException

HTTPBadGateway.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.

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

Bases: heatclient.exc.Forbidden

exception heatclient.exc.HTTPInternalServerError(message=None)

Bases: heatclient.exc.HTTPException

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

Bases: heatclient.exc.HTTPException

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

Bases: heatclient.exc.HTTPException

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

Bases: heatclient.exc.NotFound

exception heatclient.exc.HTTPNotImplemented(message=None)

Bases: heatclient.exc.HTTPException

HTTPNotImplemented.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.HTTPUnsupported(message=None)

Bases: heatclient.exc.HTTPException

HTTPUnsupported.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)

Bases: heatclient.exc.HTTPException

DEPRECATED.

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

Bases: heatclient.exc.HTTPException

DEPRECATED.

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

Bases: heatclient.exc.HTTPException

DEPRECATED.

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

Bases: heatclient.exc.HTTPException

DEPRECATED.

Unauthorized.code = 401
heatclient.exc.from_response(response)

Return an instance of an HTTPException based on requests response.

heatclient.exc.obj

alias of HTTPUnsupported

Previous topic

Client

Next topic

Version 1 API Reference

This Page