Exceptions

class ai.backend.client.exceptions.BackendError

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)

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

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.