on_error Event
Fires to report an error condition.
Syntax
class SAMLWriterErrorEventParams(object): @property def error_code() -> int: ... @property def description() -> str: ... # In class SAMLWriter: @property def on_error() -> Callable[[SAMLWriterErrorEventParams], None]: ... @on_error.setter def on_error(event_hook: Callable[[SAMLWriterErrorEventParams], None]) -> None: ...
Remarks
Subscribe to this event to be notified about any error conditions occurring during the component's work. ErrorCode and Description provide the details of the error.