Exceptions¶
Contains shared errors types that can be raised from API functions
Classes:
-
InvalidResponseModel–Raised by schema models when required key-value pairs are not found.
-
UnexpectedStatus–Raised by api functions when the response status an undocumented status and HTTPClient.raise_on_unexpected_status is True
-
KrakenAPIError–Raised when the Kraken API returns an error in the response body.
InvalidResponseModel
¶
Bases: Exception
Raised by schema models when required key-value pairs are not found.
UnexpectedStatus
¶
Bases: Exception
Raised by api functions when the response status an undocumented status and HTTPClient.raise_on_unexpected_status is True
KrakenAPIError
¶
Bases: Exception
Raised when the Kraken API returns an error in the response body.