summaryrefslogtreecommitdiff
path: root/lib/exceptions.py
diff options
context:
space:
mode:
Diffstat (limited to 'lib/exceptions.py')
-rw-r--r--lib/exceptions.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/exceptions.py b/lib/exceptions.py
new file mode 100644
index 0000000..63c7475
--- /dev/null
+++ b/lib/exceptions.py
@@ -0,0 +1,8 @@
+class CmdNotFoundException(Exception):
+ pass
+
+class CommandException(Exception):
+ def __init__(self, message, print_usage=True):
+ Exception.__init__(self, message)
+ self.print_usage = print_usage
+
nihil fit ex nihilo