5.6. exceptions

Exceptions and warnings.

exception axonius_api_client.exceptions.AxonWarning[source]

Bases: Warning

Warnings for axonius_api_client.

exception axonius_api_client.exceptions.ApiWarning[source]

Bases: axonius_api_client.exceptions.AxonWarning

Warnings for api.

exception axonius_api_client.exceptions.AxonError[source]

Bases: Exception

Errors for axonius_api_client.

exception axonius_api_client.exceptions.ApiError[source]

Bases: axonius_api_client.exceptions.AxonError

Errors for api.

exception axonius_api_client.exceptions.ToolsError[source]

Bases: axonius_api_client.exceptions.AxonError

Errors for tools.

exception axonius_api_client.exceptions.AuthError[source]

Bases: axonius_api_client.exceptions.AxonError

Errors for auth.

exception axonius_api_client.exceptions.NotFoundError[source]

Bases: axonius_api_client.exceptions.ApiError

Error when something is not found.

exception axonius_api_client.exceptions.InvalidCredentials[source]

Bases: axonius_api_client.exceptions.AuthError

Error when credentials are invalid.

exception axonius_api_client.exceptions.NotLoggedIn[source]

Bases: axonius_api_client.exceptions.AuthError

Error when not logged in.

exception axonius_api_client.exceptions.AlreadyLoggedIn[source]

Bases: axonius_api_client.exceptions.AuthError

Error when already logged in.

exception axonius_api_client.exceptions.ConnectError[source]

Bases: axonius_api_client.exceptions.AxonError

Error in connect.Connect.

exception axonius_api_client.exceptions.HttpError[source]

Bases: axonius_api_client.exceptions.AxonError

Errors for http.

exception axonius_api_client.exceptions.ConfigError[source]

Bases: axonius_api_client.exceptions.ApiError

Pass.

exception axonius_api_client.exceptions.ConfigInvalidValue[source]

Bases: axonius_api_client.exceptions.ConfigError

Pass.

exception axonius_api_client.exceptions.ConfigUnchanged[source]

Bases: axonius_api_client.exceptions.ConfigError

Pass.

exception axonius_api_client.exceptions.ConfigUnknown[source]

Bases: axonius_api_client.exceptions.ConfigError

Pass.

exception axonius_api_client.exceptions.ConfigRequired[source]

Bases: axonius_api_client.exceptions.ConfigError

Pass.

exception axonius_api_client.exceptions.CnxError[source]

Bases: axonius_api_client.exceptions.ApiError

Errors for api.adapters.Cnx.

exception axonius_api_client.exceptions.CnxGoneError[source]

Bases: axonius_api_client.exceptions.CnxError

Errors for api.adapters.Cnx.

exception axonius_api_client.exceptions.CnxUpdateError[source]

Bases: axonius_api_client.exceptions.CnxError

Pass.

exception axonius_api_client.exceptions.CnxTestError[source]

Bases: axonius_api_client.exceptions.CnxError

Pass.

exception axonius_api_client.exceptions.CnxAddError[source]

Bases: axonius_api_client.exceptions.CnxError

Pass.

exception axonius_api_client.exceptions.ResponseError[source]

Bases: axonius_api_client.exceptions.ApiError

Errors when checking responses.

exception axonius_api_client.exceptions.ResponseNotOk[source]

Bases: axonius_api_client.exceptions.ResponseError

Error if response has a status code that is an error and error_status is True.

exception axonius_api_client.exceptions.JsonInvalid[source]

Bases: axonius_api_client.exceptions.ResponseError

Error when response has invalid JSON.

exception axonius_api_client.exceptions.JsonError[source]

Bases: axonius_api_client.exceptions.ResponseError

Error when JSON has key:error that is not empty or key:status=error.