user.errors
Exceptions
Base class for all errors raised by onegov.user. |
|
Raised when a user was not found. |
|
Raised when the given activation token doesn't match. |
|
Raised when a new user already exists. |
|
Raised when a user was already activated. |
|
Raised when the signup link in use has expired. |
|
Raised when a user's password is not secure enough. |
Module Contents
- exception user.errors.OnegovUserError(message: str)[source]
Bases:
Exception
Base class for all errors raised by onegov.user.
- exception user.errors.UnknownUserError(message: str)[source]
Bases:
OnegovUserError
Raised when a user was not found.
- exception user.errors.InvalidActivationTokenError(message: str)[source]
Bases:
OnegovUserError
Raised when the given activation token doesn’t match.
- exception user.errors.ExistingUserError(message: str)[source]
Bases:
OnegovUserError
Raised when a new user already exists.
- exception user.errors.AlreadyActivatedError(message: str)[source]
Bases:
OnegovUserError
Raised when a user was already activated.
- exception user.errors.ExpiredSignupLinkError[source]
Bases:
OnegovUserError
Raised when the signup link in use has expired.
- exception user.errors.InsecurePasswordError[source]
Bases:
OnegovUserError
Raised when a user’s password is not secure enough.