Exceptions

class ai.backend.client.exceptions.BackendError[source]

Exception type to catch all ai.backend-related errors.

with_traceback()

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

class ai.backend.client.exceptions.BackendAPIError(status, reason, data)[source]

Exceptions returned by the API gateway.

with_traceback()

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

class ai.backend.client.exceptions.BackendClientError[source]

Exceptions from the client library, such as argument validation errors and connection failures.

with_traceback()

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