From 070edf9b2f55bdf50f84d2deb13a214031fce35d Mon Sep 17 00:00:00 2001 From: Lars Wirzenius Date: Thu, 26 Jul 2018 10:37:51 +0300 Subject: Change: upon triggering build, check project defines all parameters --- ick2/exceptions.py | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'ick2/exceptions.py') 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))) -- cgit v1.2.1