diff options
author | Lars Wirzenius <liw@liw.fi> | 2018-07-26 10:37:51 +0300 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2018-07-26 10:37:51 +0300 |
commit | 070edf9b2f55bdf50f84d2deb13a214031fce35d (patch) | |
tree | ec09dfba77478fd97f3356f5bcdd4d8baa335b33 /ick2/exceptions.py | |
parent | 44abb5b581b33dad7309cc36f65e3b6649c8886d (diff) | |
download | ick2-070edf9b2f55bdf50f84d2deb13a214031fce35d.tar.gz |
Change: upon triggering build, check project defines all parameters
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))) |