Exceptions¶
The following custom exceptions are thrown by the library.
MutinyException¶
AuthenticationError¶
- class mutiny.errors.AuthenticationError[source]¶
Bases:
mutiny.errors.MutinyExceptionA base class for the authentication errors.
InvalidCredentials¶
- class mutiny.errors.InvalidCredentials[source]¶
Bases:
mutiny.errors.AuthenticationErrorThrown when the authentication has failed due to incorrect credentials.
OnboardingNotFinished¶
- class mutiny.errors.OnboardingNotFinished[source]¶
Bases:
mutiny.errors.AuthenticationErrorThrown when trying to authenticate as a user that has not done onboarding (choosing a username after account registration) yet.