The Error command terminates the script with the specified error. Information about the error is written to the log file.

Error Message
Enter the error text.

Error Code
You can specify a numeric code that the program will return when terminating the script. The default value is 100.

If an error occurs, the script window will look like this.

Online Demo
Downloads Documentation Scripts Support