on_error Event
Fires to report an error condition.
Syntax
class SAMLReaderErrorEventParams(object): @property def error_code() -> int: ... @property def description() -> str: ... # In class SAMLReader: @property def on_error() -> Callable[[SAMLReaderErrorEventParams], None]: ... @on_error.setter def on_error(event_hook: Callable[[SAMLReaderErrorEventParams], 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.