These macros are used to output errors and warnings during translation. Errors stop generation, while warnings are purely informational and can be triggered when an inconsistency is detected while applying the template on a particular object. The messages are displayed in both the object Preview tab and the Output window.
Use the following syntax to insert an error message:
.error message
Use the following syntax to insert a warning message:
.warning message
The following parameters are available:
Example:
.error no initial value supplied for attribute %Code% of class %Parent.Code%