Integrations (PTC products, 3rd party products and code) > Code integration (Ada, ARINC 653, C, C#, C++, IDL, Java, SQL and VB) > SDL script for generating code > Keywords > %error keyword (SDL script)
  
%error keyword (SDL script)
This keyword outputs an error message to the ACS log.
Syntax
%error "<message>"
In this example, this text is added to the SDL script:
%error "Invalid data type"
When processed for a Class named Class1, the following message is added to the log or Errors.log file:
ERR:Class : Class1 : Invalid data type