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