arxiv.users.legacy.exceptions module¶
Exceptions for legacy user/session integration.
-
exception
arxiv.users.legacy.exceptions.
AuthenticationFailed
[source]¶ Bases:
RuntimeError
Failed to authenticate user with provided credentials.
-
exception
arxiv.users.legacy.exceptions.
InvalidCookie
[source]¶ Bases:
ValueError
The value of a passed legacy cookie is not valid.
-
exception
arxiv.users.legacy.exceptions.
NoSuchUser
[source]¶ Bases:
RuntimeError
A reference to a non-existant user was passed.
-
exception
arxiv.users.legacy.exceptions.
PasswordAuthenticationFailed
[source]¶ Bases:
RuntimeError
An invalid username/password combination were provided.
-
exception
arxiv.users.legacy.exceptions.
RegistrationFailed
[source]¶ Bases:
RuntimeError
Could not create a new user.
-
exception
arxiv.users.legacy.exceptions.
SessionCreationFailed
[source]¶ Bases:
RuntimeError
Failed to create a session in the legacy database.
-
exception
arxiv.users.legacy.exceptions.
SessionDeletionFailed
[source]¶ Bases:
RuntimeError
Failed to delete a session in the legacy database.
-
exception
arxiv.users.legacy.exceptions.
SessionExpired
[source]¶ Bases:
RuntimeError
A reference was made to an expired session.
-
exception
arxiv.users.legacy.exceptions.
UnknownSession
[source]¶ Bases:
RuntimeError
Failed to locate a session in the legacy database.