ThrowError | |||||||
Type | statement | ||||||
Dictionary | LCB | ||||||
Library | LiveCode Builder | ||||||
Syntax |
| ||||||
Associations | com.livecode.language | ||||||
Summary | Causes an error to be raised. | ||||||
Parameters |
| ||||||
Example |
| ||||||
Description | The throw statement causes an error to be raised. This causes execution to terminate, and the error is passed back to environment. The Error expression must be an expression that evaluates to a string. Note:There is currently no try / catch mechanism in LiveCode Builder, so throwing an error will cause the error to be raised in LiveCode Script in the appropriate context. |