on_error Event
Informs about errors during cryptographic operations.
Syntax
class RndErrorEventParams(object): @property def error_code() -> int: ... @property def description() -> str: ... # In class Rnd: @property def on_error() -> Callable[[RndErrorEventParams], None]: ... @on_error.setter def on_error(event_hook: Callable[[RndErrorEventParams], 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.