on_operation_error Event
Reports a protocol error.
Syntax
class WebDAVClientOperationErrorEventParams(object): @property def url() -> str: ... @property def status() -> str: ... @property def error() -> str: ... @property def description() -> str: ... # In class WebDAVClient: @property def on_operation_error() -> Callable[[WebDAVClientOperationErrorEventParams], None]: ... @on_operation_error.setter def on_operation_error(event_hook: Callable[[WebDAVClientOperationErrorEventParams], None]) -> None: ...
Remarks
This event is fired to report a WebDAV protocol error that happened during the data exchange. This is different from on_error which reports more general errors out of the scope of WebDAV protocol.
Use ErrorCode to get the error code, and Description for a corresponding textual comment.