Exceptions¶
- exception heatclient.exc.BadRequest(message=None, code=None)
Bases:
HTTPException
DEPRECATED.
- code = 400
- exception heatclient.exc.BaseException(message=None)
Bases:
Exception
An error occurred.
- exception heatclient.exc.CommandError(message=None)
Bases:
BaseException
Invalid usage of CLI.
- exception heatclient.exc.CommunicationError(message=None)
Bases:
BaseException
Unable to communicate with server.
- exception heatclient.exc.Conflict(message=None, code=None)
Bases:
HTTPException
DEPRECATED.
- code = 409
- exception heatclient.exc.EndpointNotFound
Bases:
Exception
DEPRECATED.
- exception heatclient.exc.Forbidden(message=None, code=None)
Bases:
HTTPException
DEPRECATED.
- code = 403
- exception heatclient.exc.HTTPBadGateway(message=None, code=None)
Bases:
HTTPException
- code = 502
- exception heatclient.exc.HTTPBadRequest(message=None, code=None)
Bases:
BadRequest
- exception heatclient.exc.HTTPConflict(message=None, code=None)
Bases:
Conflict
- exception heatclient.exc.HTTPException(message=None, code=None)
Bases:
BaseException
Base exception for all HTTP-derived exceptions.
- code = 'N/A'
- exception heatclient.exc.HTTPForbidden(message=None, code=None)
Bases:
Forbidden
- exception heatclient.exc.HTTPInternalServerError(message=None, code=None)
Bases:
HTTPException
- code = 500
- exception heatclient.exc.HTTPMethodNotAllowed(message=None, code=None)
Bases:
HTTPException
- code = 405
- exception heatclient.exc.HTTPMultipleChoices(message=None, code=None)
Bases:
HTTPException
- code = 300
- exception heatclient.exc.HTTPNotFound(message=None, code=None)
Bases:
NotFound
- exception heatclient.exc.HTTPNotImplemented(message=None, code=None)
Bases:
HTTPException
- code = 501
- exception heatclient.exc.HTTPOverLimit(message=None, code=None)
Bases:
OverLimit
- exception heatclient.exc.HTTPServiceUnavailable(message=None, code=None)
Bases:
ServiceUnavailable
- exception heatclient.exc.HTTPUnauthorized(message=None, code=None)
Bases:
Unauthorized
- exception heatclient.exc.HTTPUnsupported(message=None, code=None)
Bases:
HTTPException
- code = 415
- exception heatclient.exc.InvalidEndpoint(message=None)
Bases:
BaseException
The provided endpoint is invalid.
- exception heatclient.exc.NoTokenLookupException
Bases:
Exception
DEPRECATED.
- exception heatclient.exc.NoUniqueMatch(message=None, code=None)
Bases:
HTTPException
- exception heatclient.exc.NotFound(message=None, code=None)
Bases:
HTTPException
DEPRECATED.
- code = 404
- exception heatclient.exc.OverLimit(message=None, code=None)
Bases:
HTTPException
DEPRECATED.
- code = 413
- exception heatclient.exc.ServiceUnavailable(message=None, code=None)
Bases:
HTTPException
DEPRECATED.
- code = 503
- exception heatclient.exc.StackFailure
Bases:
Exception
- exception heatclient.exc.Unauthorized(message=None, code=None)
Bases:
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