summaryrefslogtreecommitdiffstats
path: root/tosca2heat/tosca-parser/toscaparser/common
diff options
context:
space:
mode:
Diffstat (limited to 'tosca2heat/tosca-parser/toscaparser/common')
-rw-r--r--tosca2heat/tosca-parser/toscaparser/common/exception.py9
1 files changed, 7 insertions, 2 deletions
diff --git a/tosca2heat/tosca-parser/toscaparser/common/exception.py b/tosca2heat/tosca-parser/toscaparser/common/exception.py
index f67a277..724844b 100644
--- a/tosca2heat/tosca-parser/toscaparser/common/exception.py
+++ b/tosca2heat/tosca-parser/toscaparser/common/exception.py
@@ -116,14 +116,19 @@ class UnknownInputError(TOSCAException):
class MissingRequiredInputError(TOSCAException):
msg_fmt = _('%(what)s is missing required input definition '
- ' with name: "%(input_name)s".')
+ 'of input "%(input_name)s".')
class MissingRequiredParameterError(TOSCAException):
- msg_fmt = _('%(what)s is missing required parameter for input: '
+ msg_fmt = _('%(what)s is missing required parameter for input '
'"%(input_name)s".')
+class MissingDefaultValueError(TOSCAException):
+ msg_fmt = _('%(what)s is missing required default value '
+ 'of input "%(input_name)s".')
+
+
class InvalidPropertyValueError(TOSCAException):
msg_fmt = _('Value of property "%(what)s" is invalid.')