Disarm - Function SummarySummary:Returns the error value as an object. Usage:disarm error Arguments:error - The error argument. (must be: error) Description:DISARM allows access to the values of an error object. If the error is not disarmed, it will occur again immediately.
The error object returned from DISARM can be used to determine the type of error and its arguments. For example in the case of a divide by zero error:
You might write a TRY block that handles the error after it has happened:
Related:attempt - Tries to evaluate and returns result or NONE on error.
| ||||
|