watcherclient.exceptions module¶
-
watcherclient.exceptions.AmbigiousAuthSystem¶
-
exception
watcherclient.exceptions.AmbiguousAuthSystem[source]¶ Bases:
watcherclient.common.apiclient.exceptions.ClientExceptionCould not obtain token and endpoint using provided credentials.
-
exception
watcherclient.exceptions.CommandError[source]¶ Bases:
watcherclient.common.apiclient.exceptions.ClientExceptionError in CLI tool.
-
exception
watcherclient.exceptions.InternalServerError(message=None, details=None, response=None, request_id=None, url=None, method=None, http_status=None)[source]¶ Bases:
watcherclient.common.apiclient.exceptions.HttpServerErrorHTTP 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[source]¶ Bases:
watcherclient.common.apiclient.exceptions.ClientException
Bases:
watcherclient.common.apiclient.exceptions.HTTPClientErrorHTTP 401 - Unauthorized.
Similar to 403 Forbidden, but specifically for use when authentication is required and has failed or has not yet been provided.
-
exception
watcherclient.exceptions.UnsupportedVersion[source]¶ Bases:
ExceptionUnsupported API Version
Indicates that the user is trying to use an unsupported version of the API.
-
exception
watcherclient.exceptions.ValidationError[source]¶ Bases:
watcherclient.common.apiclient.exceptions.ClientExceptionError in validation on API client side.