]> git.ipfire.org Git - thirdparty/httpx.git/commitdiff
Add `HttpError`
authorMatus Ferech <matus.ferech@telekom.com>
Sat, 4 May 2019 15:42:55 +0000 (17:42 +0200)
committerMatus Ferech <matus.ferech@telekom.com>
Sat, 4 May 2019 15:42:55 +0000 (17:42 +0200)
httpcore/exceptions.py

index 55d377e0a15b4ba137f8cc01b9407805cfe73856..ad04013216557ad01d25ad833de9c8da5a945371 100644 (file)
@@ -34,6 +34,12 @@ class PoolTimeout(Timeout):
 # HTTP exceptions...
 
 
+class HttpError(Exception):
+    """
+    An Http error occurred.
+    """
+
+
 class ProtocolError(Exception):
     """
     Malformed HTTP.