air_sdk.exceptions#
SDK-specific exceptions
Exceptions#
Common base class for all non-exit exceptions. |
|
Common base class for all non-exit exceptions. |
|
Raised when the API returns an unexpected response. |
|
Raised when an API call returns a 403 Forbidden error |
|
Raised when accessing a previously instantiated object that was deleted. |
Module Contents#
- exception air_sdk.exceptions.AirError( )[source]#
Bases:
ExceptionCommon base class for all non-exit exceptions.
- status_code = None#
- exception air_sdk.exceptions.AirModelAttributeError(
- message: str = 'An error occurred while accessing an AirModel attribute.',
- status_code: int | None = None,
Bases:
AirErrorCommon base class for all non-exit exceptions.
- message = 'An error occurred while accessing an AirModel attribute.'#
- exception air_sdk.exceptions.AirUnexpectedResponse( )[source]#
Bases:
AirErrorRaised when the API returns an unexpected response.
- message = 'Received an unexpected response from the Air API'#