diff options
Diffstat (limited to 'ick2/exceptions.py')
-rw-r--r-- | ick2/exceptions.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/ick2/exceptions.py b/ick2/exceptions.py index 8a5447d..3af7ff0 100644 --- a/ick2/exceptions.py +++ b/ick2/exceptions.py @@ -39,3 +39,10 @@ class ClientIdMissing(IckException): class MethodNotAllowed(IckException): pass + + +class ParametersMissing(IckException): + + def __init__(self, names): + super().__init__( + 'Project must define parameters: {}'.format(' '. join(names))) |