summaryrefslogtreecommitdiffstats
path: root/tosca2heat/heat-translator/translator/common/exception.py
diff options
context:
space:
mode:
Diffstat (limited to 'tosca2heat/heat-translator/translator/common/exception.py')
-rw-r--r--tosca2heat/heat-translator/translator/common/exception.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/tosca2heat/heat-translator/translator/common/exception.py b/tosca2heat/heat-translator/translator/common/exception.py
index be86116..f16d3d7 100644
--- a/tosca2heat/heat-translator/translator/common/exception.py
+++ b/tosca2heat/heat-translator/translator/common/exception.py
@@ -43,6 +43,11 @@ class ToscaClassImportError(TOSCAException):
'exists and has no language definition errors.')
+class UnsupportedTypeError(TOSCAException):
+ msg_fmt = _('Type "%(type)s" is valid TOSCA type but translation '
+ 'support is not yet available.')
+
+
class ToscaClassAttributeError(TOSCAException):
msg_fmt = _('Class attribute referenced not found. '
'%(message)s. Check to see that it is defined.')