scriptExecutionError

Typemessage
DictionaryLCS
LibraryLiveCode Script
Syntax
scriptExecutionError <pErrorStack>, <pFilesList>
Summary

The scriptExecutionError message is sent to the global script (home stack) when an uncaught error is encountered.

Introduced4.6.3
OSmac, windows, linux
Platformsserver
Parameters
NameTypeDescription
pErrorStack

The standard engine error stack listing, detailing the errors that occurred at each stage of the stack being unwound.

pFilesList

The list of all files that have been 'included' / 'required' which the error stack references if an error occurred in the context of a file script rather then an object script.

Example
on scriptExecutionError pErrorStack, pFilesList
   put pErrorStack & return & pFilesList
end scriptExecutionError
RelatedProperty: errorMode
Description

The scriptExecutionError message is sent to the global script (home stack) when an uncaught error is encountered.

scriptExecutionError is only available when running in CGI mode (Server).