summaryrefslogtreecommitdiff
path: root/lib/exceptions.py
blob: 63c74754e67a9f19e3df0eff939a57fa71ac84e7 (plain)
1
2
3
4
5
6
7
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