Exceptions
Classes:
Name | Description |
---|---|
ClientError |
Raised when the API returns a 4xx status code |
InternalServerError |
Raised when the API returns a 5xx status code |
ResponseError |
Raised when an API response is empty or has an unexpected format |
RetryLimitExceeded |
Raised when the retry limit is exceeded |
TooManyRequests |
Raised when the API returns a 429 status code |
ClientError
InternalServerError
Bases: Exception
Raised when the API returns a 5xx status code
Source code in pyflowery/exceptions.py
ResponseError
Bases: Exception
Raised when an API response is empty or has an unexpected format