aboutsummaryrefslogtreecommitdiffstats
path: root/netlib/exceptions.py
diff options
context:
space:
mode:
authorsmill <smill@cuckoo.sh>2016-09-04 01:30:27 +0000
committersmill <smill@cuckoo.sh>2016-09-04 01:30:27 +0000
commitfbfedbdc8f02bc36191d3fbf0f5cb7756331c89d (patch)
treeb064696ab20a9f831c02e342b8ed02a2d8c93b15 /netlib/exceptions.py
parent377921fa99e5c602ff04ed412be76072abc1d1c0 (diff)
downloadmitmproxy-fbfedbdc8f02bc36191d3fbf0f5cb7756331c89d.tar.gz
mitmproxy-fbfedbdc8f02bc36191d3fbf0f5cb7756331c89d.tar.bz2
mitmproxy-fbfedbdc8f02bc36191d3fbf0f5cb7756331c89d.zip
Improved error-handling / supplemented documention.
Diffstat (limited to 'netlib/exceptions.py')
-rw-r--r--netlib/exceptions.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/netlib/exceptions.py b/netlib/exceptions.py
index dec79c22..795926f1 100644
--- a/netlib/exceptions.py
+++ b/netlib/exceptions.py
@@ -58,3 +58,6 @@ class InvalidCertificateException(TlsException):
class Timeout(TcpException):
pass
+
+class ProtocolException(NetlibException):
+ pass