aboutsummaryrefslogtreecommitdiffstats
path: root/mitmproxy/exceptions.py
diff options
context:
space:
mode:
authorAldo Cortesi <aldo@nullcube.com>2017-03-16 07:53:19 +1300
committerAldo Cortesi <aldo@corte.si>2017-03-16 08:50:29 +1300
commit169068c7ec97ae0dfb64cfa5e5b1588c6e62297d (patch)
treed33b3900b01c87c0fb13258ccde43e1c1238f57b /mitmproxy/exceptions.py
parentef582333ff432e11e696b95d7da456d8b6eae5cd (diff)
downloadmitmproxy-169068c7ec97ae0dfb64cfa5e5b1588c6e62297d.tar.gz
mitmproxy-169068c7ec97ae0dfb64cfa5e5b1588c6e62297d.tar.bz2
mitmproxy-169068c7ec97ae0dfb64cfa5e5b1588c6e62297d.zip
Clean up addonmanager interface
Clarify the plethora of invocation methods we've sprouted, correct some usages in the codebase.
Diffstat (limited to 'mitmproxy/exceptions.py')
-rw-r--r--mitmproxy/exceptions.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/mitmproxy/exceptions.py b/mitmproxy/exceptions.py
index 309b8189..9b6328ac 100644
--- a/mitmproxy/exceptions.py
+++ b/mitmproxy/exceptions.py
@@ -102,6 +102,9 @@ class AddonError(MitmproxyException):
class AddonHalt(MitmproxyException):
+ """
+ Raised by addons to signal that no further handlers should handle this event.
+ """
pass