mirror of
https://github.com/Grasscutters/mitmproxy.git
synced 2024-11-27 18:31:22 +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
|