antimatter.client.exceptions#

Antimatter Public API

Interact with the Antimatter Cloud API

The version of the OpenAPI document: 1.1.3 Contact: support@antimatter.io Generated by OpenAPI Generator (https://openapi-generator.tech)

Do not edit the class manually.

Module Contents#

Functions#

render_path(path_to_item)

Returns a string representation of a path

exception antimatter.client.exceptions.OpenApiException#

Bases: Exception

The base exception class for all OpenAPIExceptions

class args#
add_note()#

Exception.add_note(note) – add a note to the exception

with_traceback()#

Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.

exception antimatter.client.exceptions.ApiTypeError(msg, path_to_item=None, valid_classes=None, key_type=None)#

Bases: OpenApiException, TypeError

The base exception class for all OpenAPIExceptions

class args#
add_note()#

Exception.add_note(note) – add a note to the exception

with_traceback()#

Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.

exception antimatter.client.exceptions.ApiValueError(msg, path_to_item=None)#

Bases: OpenApiException, ValueError

The base exception class for all OpenAPIExceptions

class args#
add_note()#

Exception.add_note(note) – add a note to the exception

with_traceback()#

Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.

exception antimatter.client.exceptions.ApiAttributeError(msg, path_to_item=None)#

Bases: OpenApiException, AttributeError

The base exception class for all OpenAPIExceptions

class args#
class name#

attribute name

class obj#

object

add_note()#

Exception.add_note(note) – add a note to the exception

with_traceback()#

Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.

exception antimatter.client.exceptions.ApiKeyError(msg, path_to_item=None)#

Bases: OpenApiException, KeyError

The base exception class for all OpenAPIExceptions

class args#
add_note()#

Exception.add_note(note) – add a note to the exception

with_traceback()#

Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.

exception antimatter.client.exceptions.ApiException(status=None, reason=None, http_resp=None, *, body: str | None = None, data: Any | None = None)#

Bases: OpenApiException

The base exception class for all OpenAPIExceptions

class args#
classmethod from_response(*, http_resp, body: str | None, data: Any | None) typing_extensions.Self#
add_note()#

Exception.add_note(note) – add a note to the exception

with_traceback()#

Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.

exception antimatter.client.exceptions.BadRequestException(status=None, reason=None, http_resp=None, *, body: str | None = None, data: Any | None = None)#

Bases: ApiException

The base exception class for all OpenAPIExceptions

class args#
classmethod from_response(*, http_resp, body: str | None, data: Any | None) typing_extensions.Self#
add_note()#

Exception.add_note(note) – add a note to the exception

with_traceback()#

Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.

exception antimatter.client.exceptions.NotFoundException(status=None, reason=None, http_resp=None, *, body: str | None = None, data: Any | None = None)#

Bases: ApiException

The base exception class for all OpenAPIExceptions

class args#
classmethod from_response(*, http_resp, body: str | None, data: Any | None) typing_extensions.Self#
add_note()#

Exception.add_note(note) – add a note to the exception

with_traceback()#

Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.

exception antimatter.client.exceptions.UnauthorizedException(status=None, reason=None, http_resp=None, *, body: str | None = None, data: Any | None = None)#

Bases: ApiException

The base exception class for all OpenAPIExceptions

class args#
classmethod from_response(*, http_resp, body: str | None, data: Any | None) typing_extensions.Self#
add_note()#

Exception.add_note(note) – add a note to the exception

with_traceback()#

Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.

exception antimatter.client.exceptions.ForbiddenException(status=None, reason=None, http_resp=None, *, body: str | None = None, data: Any | None = None)#

Bases: ApiException

The base exception class for all OpenAPIExceptions

class args#
classmethod from_response(*, http_resp, body: str | None, data: Any | None) typing_extensions.Self#
add_note()#

Exception.add_note(note) – add a note to the exception

with_traceback()#

Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.

exception antimatter.client.exceptions.ServiceException(status=None, reason=None, http_resp=None, *, body: str | None = None, data: Any | None = None)#

Bases: ApiException

The base exception class for all OpenAPIExceptions

class args#
classmethod from_response(*, http_resp, body: str | None, data: Any | None) typing_extensions.Self#
add_note()#

Exception.add_note(note) – add a note to the exception

with_traceback()#

Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.

antimatter.client.exceptions.render_path(path_to_item)#

Returns a string representation of a path