on_error Event
Informs about errors during cryptographic operations.
Syntax
class PasswordVaultErrorEventParams(object): @property def error_code() -> int: ... @property def description() -> str: ... # In class PasswordVault: @property def on_error() -> Callable[[PasswordVaultErrorEventParams], None]: ... @on_error.setter def on_error(event_hook: Callable[[PasswordVaultErrorEventParams], None]) -> None: ...
Remarks
Class fires this event if an error happens during a cryptographic operation.
ErrorCode contains an error code and Description contains a textual description of the error that happened.