summaryrefslogtreecommitdiffstats
path: root/base/exceptions.py
blob: 221b73ec2b2ecf09f5b2abf9e5a4717bea841d35 (plain)
1
2
3
4
5
6
7
8
9
class ModuleError(Exception):
    def __init__(self, reason, error):
        self.reason = reason
        self.error = error

class ExecutionException(Exception):
    def __init__(self, e, message):
        self.e = e
        self.message = message