http_urllib_client: include exceptions
This commit is contained in:
parent
e36fcef790
commit
a8f1b83256
|
@ -10,6 +10,7 @@ from .signatures import (
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
|
from . import error
|
||||||
from .client import HttpUrllibClient, set_default_client
|
from .client import HttpUrllibClient, set_default_client
|
||||||
from .request import HttpUrllibRequest
|
from .request import HttpUrllibRequest
|
||||||
from .response import HttpUrllibResponse
|
from .response import HttpUrllibResponse
|
||||||
|
|
36
http_urllib_client/izzylib/http_urllib_client/error.py
Normal file
36
http_urllib_client/izzylib/http_urllib_client/error.py
Normal file
|
@ -0,0 +1,36 @@
|
||||||
|
from urllib3.exceptions import (
|
||||||
|
HTTPError,
|
||||||
|
PoolError,
|
||||||
|
RequestError,
|
||||||
|
SSLError,
|
||||||
|
ProxyError,
|
||||||
|
DecodeError,
|
||||||
|
ProtocolError,
|
||||||
|
MaxRetryError,
|
||||||
|
HostChangedError,
|
||||||
|
TimeoutStateError,
|
||||||
|
TimeoutError,
|
||||||
|
ReadTimeoutError,
|
||||||
|
NewConnectionError,
|
||||||
|
EmptyPoolError,
|
||||||
|
ClosedPoolError,
|
||||||
|
LocationValueError,
|
||||||
|
LocationParseError,
|
||||||
|
URLSchemeUnknown,
|
||||||
|
ResponseError,
|
||||||
|
SecurityWarning,
|
||||||
|
InsecureRequestWarning,
|
||||||
|
SystemTimeWarning,
|
||||||
|
InsecurePlatformWarning,
|
||||||
|
SNIMissingWarning,
|
||||||
|
DependencyWarning,
|
||||||
|
ResponseNotChunked,
|
||||||
|
BodyNotHttplibCompatible,
|
||||||
|
IncompleteRead,
|
||||||
|
InvalidChunkLength,
|
||||||
|
InvalidHeader,
|
||||||
|
ProxySchemeUnknown,
|
||||||
|
ProxySchemeUnsupported,
|
||||||
|
HeaderParsingError,
|
||||||
|
UnrewindableBodyError
|
||||||
|
)
|
Loading…
Reference in a new issue