python
from poma import ApiError, InvalidInputError, InvalidResponseError, PomaSDKErrorPomaSDKError
Base class for SDK-specific exceptions.
ApiError
Raised when the API returns an HTTP or job-level error.
Attributes:
| Attribute | Type |
|---|---|
status_code | `int |
response_body | str |
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.