diff --git a/flask_security/exceptions.py b/flask_security/exceptions.py index 06420f4..47be66b 100644 --- a/flask_security/exceptions.py +++ b/flask_security/exceptions.py @@ -22,12 +22,6 @@ class BadCredentialsError(SecurityError): """ -class AuthenticationError(SecurityError): - """Raised when an authentication attempt fails due to invalid configuration - or an unknown reason. - """ - - class UserNotFoundError(SecurityError): """Raised by a user datastore when there is an attempt to find a user by their identifier, often username or email, and the user is not found. @@ -40,21 +34,6 @@ class RoleNotFoundError(SecurityError): """ -class UserDatastoreError(SecurityError): - """Raised when a user datastore experiences an unexpected error - """ - - -class UserCreationError(SecurityError): - """Raised when an error occurs when creating a user - """ - - -class RoleCreationError(SecurityError): - """Raised when an error occurs when creating a role - """ - - class ConfirmationError(SecurityError): """Raised when an confirmation error occurs """