mirror of
https://github.com/Grasscutters/mitmproxy.git
synced 2024-11-30 19:30:57 +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
|