summaryrefslogtreecommitdiffstats
path: root/src/engine/SCons/Errors.py
blob: 8599aee27c5c8c32e0435b8639495d90a8246740 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
"""SCons.Errors

This file contains the exception classes used to handle internal
and user errors in SCons.

"""

__revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__"



class BuildError(Exception):
    def __init__(self, node=None, stat=0, *args):
        self.node = node
        self.stat = stat
        self.args = args

class InternalError(Exception):
    def __init__(self, args=None):
        self.args = args

class UserError(Exception):
    def __init__(self, args=None):
        self.args = args