Next: Dynamic code evaluation, Previous: Loops, Up: Syntax
Kite supports exceptions through run/catch:
run [ ... ] catch [ ... ];
When Kite throws an exception, control passes to the first statement within the catch
block. The exception itself is placed in the __exc
variable. To throw an exception,
the System.exceptions.exception|throw
method is used. This method is implemented
by all exceptions.