summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/Error.py9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/Error.py b/src/Error.py
index e69de29bb..e315b02da 100644
--- a/src/Error.py
+++ b/src/Error.py
@@ -0,0 +1,9 @@
+#!/usr/bin/env python
+
+class NodeConfigurationError(Exception):
+ def __init__(self,node,etype):
+ self.node=node
+ self.etype=etype
+
+ def __str__(self):
+ return "NCE: %s:%s"%(self.node,self.etype)