Skip to content

Class tigrbl_auth.backends.AuthError

tigrbl_auth.backends.AuthError

AuthError(reason='authentication failed')

Bases: Exception

Raised when authentication fails for any reason.

Source code in tigrbl_auth/backends.py
65
66
67
def __init__(self, reason: str = "authentication failed"):
    super().__init__(reason)
    self.reason = reason

reason instance-attribute

reason = reason