Next: , Previous: Loops, Up: Syntax

3.1.9 Exceptions

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.