diff options
author | Joel Andres Granados <jgranado@redhat.com> | 2008-03-14 12:01:28 +0100 |
---|---|---|
committer | Joel Andres Granados <jgranado@redhat.com> | 2008-03-14 12:01:28 +0100 |
commit | 72b692959cb567d01ee376ef248d98004727808f (patch) | |
tree | 53f4abe2473fffbcbe597c72916f4f7f13867ed8 /pyfirstaidkit/errors.py | |
parent | 9336abca3dea390727c32f8b4cc53aad4dfb94ef (diff) | |
download | firstaidkit-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.py | 6 |
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 |