ds_fetch_py_sdk.errors ====================== .. py:module:: ds_fetch_py_sdk.errors .. autoapi-nested-parse:: Exceptions raised by the SDK. Module Contents --------------- .. py:exception:: AICError Bases: :py:obj:`Exception` Base for every error raised by this SDK. .. py:exception:: AuthError Bases: :py:obj:`AICError` Sign-in or token acquisition failed. .. py:exception:: NetworkError Bases: :py:obj:`AICError` The API could not be reached, or did not answer in time, after retries. .. py:exception:: APIError(status: int, code: str, message: str, *, request_id: str | None = None, retry_after: int = 0, recoverable: bool = False) Bases: :py:obj:`AICError` The API answered with an error. .. py:exception:: QueryError(code: str, message: str, details: list[ds_fetch_py_sdk.models.FieldError], *, request_id: str | None) Bases: :py:obj:`APIError` The SQL was rejected (HTTP 422). Fix the query; retrying will not help.