Files
2026-03-15 17:16:05 +08:00

17 lines
329 B
Python

class ProxyException(Exception):
pass
class ProxyTimeoutError(ProxyException, TimeoutError):
pass
class ProxyConnectionError(ProxyException, OSError):
pass
class ProxyError(ProxyException):
def __init__(self, message, error_code=None):
super().__init__(message)
self.error_code = error_code