diff options
author | Raúl Benencia <rul@kalgan.cc> | 2012-10-10 18:34:21 -0300 |
---|---|---|
committer | Raúl Benencia <rul@kalgan.cc> | 2012-10-10 18:34:21 -0300 |
commit | 7ef52c68574b54333c44c5be739049deac3a28ec (patch) | |
tree | d86418475ecaf17087a40c90a26c31519b770e5c /lib/exceptions.py | |
parent | b3fcf3b4e9dc49b0736e8ba1dfdab2e225999c6d (diff) |
Data loader
Diffstat (limited to 'lib/exceptions.py')
-rw-r--r-- | lib/exceptions.py | 8 |
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 + |