on_error Event
Reports error information during a crypto operation.
Syntax
class PublicKeyCryptoErrorEventParams(object): @property def error_code() -> int: ... @property def description() -> str: ... # In class PublicKeyCrypto: @property def on_error() -> Callable[[PublicKeyCryptoErrorEventParams], None]: ... @on_error.setter def on_error(event_hook: Callable[[PublicKeyCryptoErrorEventParams], None]) -> None: ...
Remarks
Class fires this event if an error is encountered during a cryptographic operation.
ErrorCode contains an error code and Description contains a textual description of the error that happened.