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