on_error Event
Provides information about errors during POP3 operations.
Syntax
class POP3ClientErrorEventParams(object): @property def error_code() -> int: ... @property def description() -> str: ... # In class POP3Client: @property def on_error() -> Callable[[POP3ClientErrorEventParams], None]: ... @on_error.setter def on_error(event_hook: Callable[[POP3ClientErrorEventParams], None]) -> None: ...
Remarks
This event is fired in case of exceptional conditions occured during POP3 operations.
ErrorCode contains an error code and Description contains a textual description of the error.