mirror of
https://github.com/Grasscutters/mitmproxy.git
synced 2024-11-24 00:31:33 +00:00
10 lines
191 B
Python
10 lines
191 B
Python
class HttpError(Exception):
|
|
|
|
def __init__(self, code, message):
|
|
super(HttpError, self).__init__(message)
|
|
self.code = code
|
|
|
|
|
|
class HttpErrorConnClosed(HttpError):
|
|
pass
|