mirror of
https://github.com/Grasscutters/mitmproxy.git
synced 2025-02-02 00:05:27 +00:00
exceptions: new SessionLoad exception for load errors
This commit is contained in:
parent
04b9555db8
commit
1a58442027
@ -129,6 +129,10 @@ class NetlibException(MitmproxyException):
|
|||||||
super().__init__(message)
|
super().__init__(message)
|
||||||
|
|
||||||
|
|
||||||
|
class SessionLoadException(MitmproxyException):
|
||||||
|
pass
|
||||||
|
|
||||||
|
|
||||||
class Disconnect:
|
class Disconnect:
|
||||||
"""Immediate EOF"""
|
"""Immediate EOF"""
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user