scriptExecutionErrors | |||||||
Type | property | ||||||
Dictionary | LCS | ||||||
Library | LiveCode Script | ||||||
Syntax |
| ||||||
Summary | Reports a list of all possible LiveCode script execution errors. | ||||||
Introduced | 6.0 | ||||||
OS | mac, windows, linux | ||||||
Platforms | desktop, server | ||||||
Example |
| ||||||
Values |
| ||||||
Related | Keyword: catch, item Message: scriptExecutionError Glossary: error message, execute, execution error, IDE, item, standalone application Control Structure: try, throw | ||||||
Description | Use the scriptExecutionErrors property to get a list of all possible errors thrown during handler execution. When a script throws an error during execution it returns a four-item, comma separated error code, as follows:
In the example above might return an error code in the catch clause, such that the variable tErr would contain something like this:
This would indicate that the error description is found on line 573 of the scriptExecutionErrors, and that the error occurred on line 4 of the script, on character 13, the token 'in'. The scriptExecutionErrors property is read-only and cannot be set. Note: The scriptExecutionErrors property returns the list of errors only in the IDE and LiveCode Server. It returns empty in standalones. |