aboutsummaryrefslogtreecommitdiffstats
path: root/libbe/error.py
diff options
context:
space:
mode:
Diffstat (limited to 'libbe/error.py')
-rw-r--r--libbe/error.py12
1 files changed, 12 insertions, 0 deletions
diff --git a/libbe/error.py b/libbe/error.py
new file mode 100644
index 0000000..fa5678d
--- /dev/null
+++ b/libbe/error.py
@@ -0,0 +1,12 @@
+# Copyright
+
+"""
+General error classes for Bugs-Everywhere.
+"""
+
+class NotSupported (NotImplementedError):
+ def __init__(self, action, message):
+ msg = '%s not supported: %s' % (action, message)
+ NotImplementedError.__init__(self, msg)
+ self.action = action
+ self.message = message