diff options
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 |