on_error Event
Informs about an error during an operation.
Syntax
class CryptoKeyManagerErrorEventParams(object): @property def error_code() -> int: ... @property def description() -> str: ... # In class CryptoKeyManager: @property def on_error() -> Callable[[CryptoKeyManagerErrorEventParams], None]: ... @on_error.setter def on_error(event_hook: Callable[[CryptoKeyManagerErrorEventParams], None]) -> None: ...
Remarks
The event is fired when an error happens in the middle of the class's work.
ErrorCode contains an error code and Description contains a textual description of the error.