Skip to content

Errors

armis_sdk.core.armis_error

This module contains the various classes of errors that you may encounter while interacting with the SDK.

Classes:

Name Description
ArmisError

A base class for all errors raised by this SDK.

ResponseError

A class for all errors raised following a non-successful response from the Armis API.

AlreadyExistsError

A class for all errors raised when an attempt is made to create a resource that already exists.

BadRequestError

A class for all errors raised when a requested resource was malformed.

NotFoundError

A class for all errors raised when a requested resource was not found.

ArmisError

Bases: Exception

A base class for all errors raised by this SDK.

ResponseError

Bases: ArmisError

A class for all errors raised following a non-successful response from the Armis API. For example, if the server returns 400 for invalid input, an instance of this class will be raised.

AlreadyExistsError

Bases: ResponseError

A class for all errors raised when an attempt is made to create a resource that already exists.

BadRequestError

Bases: ResponseError

A class for all errors raised when a requested resource was malformed.

NotFoundError

Bases: ResponseError

A class for all errors raised when a requested resource was not found.