on_error Event
Information about connection and request errors.
Syntax
class WebDAVClientErrorEventParams(object): @property def error_code() -> int: ... @property def description() -> str: ... # In class WebDAVClient: @property def on_error() -> Callable[[WebDAVClientErrorEventParams], None]: ... @on_error.setter def on_error(event_hook: Callable[[WebDAVClientErrorEventParams], None]) -> None: ...
Remarks
The event is fired to report exceptional conditions during the communication.
ErrorCode contains an error code and Description contains a textual description of the error.