# watcherclient.exceptions module

watcherclient.exceptions.AmbigiousAuthSystem

  alias of `AmbiguousAuthSystem`

exception watcherclient.exceptions.AmbiguousAuthSystem

  Bases: `ClientException`

  Could not obtain token and endpoint using provided credentials.

exception watcherclient.exceptions.CommandError

  Bases: `ClientException`

  Error in CLI tool.

exception watcherclient.exceptions.InternalServerError(message=None, details=None, response=None, request_id=None, url=None, method=None, http_status=None)

  Bases: `HttpServerError`

  HTTP 500 - Internal Server Error.

  A generic error message, given when no more specific message is suitable.

  http_status = 500
  message = 'Internal Server Error'

exception watcherclient.exceptions.InvalidAttribute

  Bases: `ClientException`

exception watcherclient.exceptions.Unauthorized(message=None, details=None, response=None, request_id=None, url=None, method=None, http_status=None)

  Bases: `HTTPClientError`

  HTTP 401 - Unauthorized.

  Similar to 403 Forbidden, but specifically for use when authentication is required and has failed or has not yet been provided.

  http_status = 401
  message = 'Unauthorized'

exception watcherclient.exceptions.UnsupportedVersion

  Bases: `Exception`

  Unsupported API Version

  Indicates that the user is trying to use an unsupported version of the API.

exception watcherclient.exceptions.ValidationError

  Bases: `ClientException`

  Error in validation on API client side.

watcherclient.exceptions.from_response(response, message=None, traceback=None, method=None, url=None)

  Return an HttpError instance based on response from httplib/requests.

this page last updated: 2024-03-11 13:17:19

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