Skip to content
python
from poma import ApiError, InvalidInputError, InvalidResponseError, PomaSDKError

PomaSDKError

Base class for SDK-specific exceptions.

ApiError

Raised when the API returns an HTTP or job-level error.

Attributes:

AttributeType
status_code`int
response_bodystr
job_id`str
file_path`str
url`str

InvalidInputError

Raised when an SDK method receives invalid or missing input.

InvalidResponseError

Raised when the server returns an unexpected, empty, or non-JSON response.