on_error Event
Reports information about errors during authentication.
Syntax
class AuthenticatorErrorEventParams(object): @property def error_code() -> int: ... @property def description() -> str: ... # In class Authenticator: @property def on_error() -> Callable[[AuthenticatorErrorEventParams], None]: ... @on_error.setter def on_error(event_hook: Callable[[AuthenticatorErrorEventParams], None]) -> None: ...
Remarks
The event is fired in case of exceptional conditions during user authentication.
ErrorCode contains an error code and Description contains a textual description of the error.