apple_maps_api.exceptions#
Exceptions#
Base exception for all Apple Maps API errors. |
|
Raised when authentication fails (e.g., invalid JWT, expired token). |
|
Raised when the API returns a client error (4xx besides 429). |
|
Raised when the API returns a 429 Too Many Requests error. |
|
Raised when the API returns a 5xx server error. |
Module Contents#
- exception apple_maps_api.exceptions.AppleMapsError[source]#
Bases:
ExceptionBase exception for all Apple Maps API errors.
- exception apple_maps_api.exceptions.AppleMapsAuthError[source]#
Bases:
AppleMapsErrorRaised when authentication fails (e.g., invalid JWT, expired token).
- exception apple_maps_api.exceptions.AppleMapsRequestError(message, status_code=None, response=None)[source]#
Bases:
AppleMapsErrorRaised when the API returns a client error (4xx besides 429).
- exception apple_maps_api.exceptions.AppleMapsRateLimitError(message, status_code=None, response=None)[source]#
Bases:
AppleMapsRequestErrorRaised when the API returns a 429 Too Many Requests error.