on_error Event
Reports information about errors during archive processing.
Syntax
class ArchiveReaderErrorEventParams(object): @property def error_code() -> int: ... @property def description() -> str: ... # In class ArchiveReader: @property def on_error() -> Callable[[ArchiveReaderErrorEventParams], None]: ... @on_error.setter def on_error(event_hook: Callable[[ArchiveReaderErrorEventParams], None]) -> None: ...
Remarks
The event is fired in case of exceptional conditions during archive processing.
ErrorCode contains an error code and Description contains a textual description of the error.