findmy.errors¶
Exception classes.
Exceptions¶
Raised when credentials are incorrect. |
|
Raised when an authorization error occurs. |
|
Raised when an unexpected error occurs while communicating with Apple servers. |
|
Raised when a method is used that is in conflict with the internal account state. |
Module Contents¶
- exception findmy.errors.InvalidCredentialsError¶
Bases:
Exception
Raised when credentials are incorrect.
- exception findmy.errors.UnauthorizedError¶
Bases:
Exception
Raised when an authorization error occurs.
- exception findmy.errors.UnhandledProtocolError¶
Bases:
RuntimeError
Raised when an unexpected error occurs while communicating with Apple servers.
This is almost always a bug, so please report it.
- exception findmy.errors.InvalidStateError¶
Bases:
RuntimeError
Raised when a method is used that is in conflict with the internal account state.
For example: calling BaseAppleAccount.login while already logged in.