summaryrefslogtreecommitdiffstats
path: root/src/scons/Errors.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/scons/Errors.py')
-rw-r--r--src/scons/Errors.py18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/scons/Errors.py b/src/scons/Errors.py
new file mode 100644
index 0000000..2709c19
--- /dev/null
+++ b/src/scons/Errors.py
@@ -0,0 +1,18 @@
+"""scons.Errors
+
+This file contains the exception classes used to handle internal
+and user errors in scons.
+
+"""
+
+__revision__ = "Errors.py __REVISION__ __DATE__ __DEVELOPER__"
+
+
+
+class InternalError(Exception):
+ def __init__(self, args=None):
+ self.args = args
+
+class UserError(Exception):
+ def __init__(self, args=None):
+ self.args = args