- Up - | Next >> |
Exceptions are values that are thrown when executing a raise
statement.
raise exception(4711) end
The effect of throwing an exception is that recursive calls are quit and that all follow up statements are ignored. Exceptions can be caught by exception handlers that are marked by the keywords try
.
try ... catch Exception then ... end
If an exception handler catches an exception then the evaluation continues with the code behind its then
continuation.
- Up - | Next >> |