on_error Event
Fires when an errors happens during a key storage operation.
Syntax
class CryptoKeyStorageErrorEventParams(object): @property def error_code() -> int: ... @property def description() -> str: ... # In class CryptoKeyStorage: @property def on_error() -> Callable[[CryptoKeyStorageErrorEventParams], None]: ... @on_error.setter def on_error(event_hook: Callable[[CryptoKeyStorageErrorEventParams], None]) -> None: ...
Remarks
This event reports an exceptional situation during a key storage operation.
ErrorCode contains an error code and Description contains a textual description of the error.