on_error Event
Provides information about errors during KMIP operations.
Syntax
class KMIPClientErrorEventParams(object): @property def error_code() -> int: ... @property def description() -> str: ... # In class KMIPClient: @property def on_error() -> Callable[[KMIPClientErrorEventParams], None]: ... @on_error.setter def on_error(event_hook: Callable[[KMIPClientErrorEventParams], None]) -> None: ...
Remarks
This event is fired in case of exceptional conditions occured during KMIP operations.
ErrorCode contains an error code and Description contains a textual description of the error.