diff --git a/httpcore/exceptions.py b/httpcore/exceptions.py index 55d377e0..ad040132 100644 --- a/httpcore/exceptions.py +++ b/httpcore/exceptions.py @@ -34,6 +34,12 @@ class PoolTimeout(Timeout): # HTTP exceptions... +class HttpError(Exception): + """ + An Http error occurred. + """ + + class ProtocolError(Exception): """ Malformed HTTP.