Chapter 9 Generation Reference Guide (GTL)


error macro

The error macro is similar to the warning macro as it does not appear in the generated file, however it stops generation. The error message is the specified template translated over the active object. It is displayed in both Preview tab of the object, and the Output window.

.error <message>

Parameters

Parameter Type Description
<message> Simple template Error message

Example:

.error no initial value supplied for attribute %Code% of class %Parent.Code%

 


Copyright (C) 2005. Sybase Inc. All rights reserved.