]> git.ipfire.org Git - thirdparty/httpx.git/commitdiff
Adding NetworkError to __init__ (#814)
authorPrimož Godec <p.godec9@gmail.com>
Wed, 12 Feb 2020 15:19:48 +0000 (16:19 +0100)
committerGitHub <noreply@github.com>
Wed, 12 Feb 2020 15:19:48 +0000 (15:19 +0000)
httpx/__init__.py

index 55f8526c59828c7eb23a58ed83d9a12053b3d730..2c4cb7276a37f3303468dc9467e58a080c06f518 100644 (file)
@@ -12,6 +12,7 @@ from ._exceptions import (
     DecodingError,
     HTTPError,
     InvalidURL,
+    NetworkError,
     NotRedirectResponse,
     PoolTimeout,
     ProtocolError,
@@ -60,6 +61,7 @@ __all__ = [
     "DecodingError",
     "HTTPError",
     "InvalidURL",
+    "NetworkError",
     "NotRedirectResponse",
     "PoolTimeout",
     "ProtocolError",