error Configuration File Directive

This directive halts the processing of configuration files. You can use it to terminate a build and print a message.

This diagram shows the syntax of the error directive:

The error directive has one parameter:

string
This parameter contains the message and must be a string data element.

Typically, you use this directive as a subdirective to an if directive that detects a condition for which you do not want to continue the build.



Configuration Files
How Configuration Files Are Processed


Change a Build Setup
Build


Configuration File Directives
Build Options