summaryrefslogtreecommitdiffstats
path: root/pyfirstaidkit/errors.py
diff options
context:
space:
mode:
authorJoel Andres Granados <jgranado@redhat.com>2008-03-14 12:01:28 +0100
committerJoel Andres Granados <jgranado@redhat.com>2008-03-14 12:01:28 +0100
commit72b692959cb567d01ee376ef248d98004727808f (patch)
tree53f4abe2473fffbcbe597c72916f4f7f13867ed8 /pyfirstaidkit/errors.py
parent9336abca3dea390727c32f8b4cc53aad4dfb94ef (diff)
downloadfirstaidkit-72b692959cb567d01ee376ef248d98004727808f.tar.gz
firstaidkit-72b692959cb567d01ee376ef248d98004727808f.tar.xz
firstaidkit-72b692959cb567d01ee376ef248d98004727808f.zip
Create an use the invalidpluginname exception.
Diffstat (limited to 'pyfirstaidkit/errors.py')
-rw-r--r--pyfirstaidkit/errors.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/pyfirstaidkit/errors.py b/pyfirstaidkit/errors.py
index b967bc9..31f1739 100644
--- a/pyfirstaidkit/errors.py
+++ b/pyfirstaidkit/errors.py
@@ -27,3 +27,9 @@ class InvalidFlowNameException(Exception):
self.message="There are no flows by the name of %s" % name
def __str__(self):
return self.message
+
+class InvalidPluginNameException(Exception):
+ def __init__(self, name):
+ self.message="There are no flows by the name of %s" % name
+ def __str__(self):
+ return self.message