From 1a584420276e4fab7997797ba14c004396924771 Mon Sep 17 00:00:00 2001 From: madt1m Date: Fri, 20 Jul 2018 16:57:23 +0200 Subject: [PATCH] exceptions: new SessionLoad exception for load errors --- mitmproxy/exceptions.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/mitmproxy/exceptions.py b/mitmproxy/exceptions.py index d568898be..9f0a8c303 100644 --- a/mitmproxy/exceptions.py +++ b/mitmproxy/exceptions.py @@ -129,6 +129,10 @@ class NetlibException(MitmproxyException): super().__init__(message) +class SessionLoadException(MitmproxyException): + pass + + class Disconnect: """Immediate EOF"""