Source code for aioopenexchangerates.exceptions

"""Provide exceptions for the Open Exchange Rates API."""


[docs] class OpenExchangeRatesError(Exception): """Represent an error for the Open Exchange Rates API."""
[docs] class OpenExchangeRatesClientError(OpenExchangeRatesError): """Represent a client error."""
[docs] class OpenExchangeRatesAuthError(OpenExchangeRatesClientError): """Represent an authentication error."""
[docs] class OpenExchangeRatesRateLimitError(OpenExchangeRatesClientError): """Represent a rate limit error."""