errors
Api errors.
Classes:
Name | Description |
---|---|
ApiError |
Exception raised when an API request fails. |
Functions:
Name | Description |
---|---|
handle_api_validation_errors |
Raise HTTPValidationError in case the call to API return such response. |
ApiError(message: str)
#
handle_api_validation_errors(api_call_result: T | HTTPValidationError | None) -> T
#
Raise HTTPValidationError in case the call to API return such response.