TerminateScriptWithError (open)
Terminate the current script
Syntax
LOADLIB "wh::os.whlib";
MACRO TerminateScriptWithError(STRING error, RECORD options)Parameters
STRING errorError message. If empty, no error is printed.
RECORD optionsOptions
exitcodeExit code, defaults to 1