aboutsummaryrefslogtreecommitdiffstats
path: root/mitmproxy/exceptions.py
diff options
context:
space:
mode:
authorAldo Cortesi <aldo@nullcube.com>2017-04-27 15:27:51 +1200
committerAldo Cortesi <aldo@nullcube.com>2017-04-27 15:27:51 +1200
commit8c4810f6069bcf592d480e5cc2d7338cd176085e (patch)
treef3e76c6b5af13e57e84cce28c2acc35a9018aad4 /mitmproxy/exceptions.py
parentee3dd3f3c5b6fe42df547156f25ab6e6f6578fff (diff)
downloadmitmproxy-8c4810f6069bcf592d480e5cc2d7338cd176085e.tar.gz
mitmproxy-8c4810f6069bcf592d480e5cc2d7338cd176085e.tar.bz2
mitmproxy-8c4810f6069bcf592d480e5cc2d7338cd176085e.zip
console: flow resolution command
This is our first built-in command, which will be used by very many other commands. Also add a --commands option to dump all commands, analogous to --options.
Diffstat (limited to 'mitmproxy/exceptions.py')
-rw-r--r--mitmproxy/exceptions.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/mitmproxy/exceptions.py b/mitmproxy/exceptions.py
index 9b6328ac..04525d1f 100644
--- a/mitmproxy/exceptions.py
+++ b/mitmproxy/exceptions.py
@@ -93,6 +93,10 @@ class SetServerNotAllowedException(MitmproxyException):
pass
+class CommandError(Exception):
+ pass
+
+
class OptionsError(MitmproxyException):
pass