fix: 修复代理问题
This commit is contained in:
16
.venv/lib/python3.9/site-packages/python_socks/_errors.py
Normal file
16
.venv/lib/python3.9/site-packages/python_socks/_errors.py
Normal file
@@ -0,0 +1,16 @@
|
||||
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
|
||||
Reference in New Issue
Block a user