Add HttpError

This commit is contained in:
Matus Ferech 2019-05-04 17:42:55 +02:00
parent fb6d14f9e8
commit 2197015386
No known key found for this signature in database
GPG Key ID: 15EDB1A9BD707CEC

View File

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