5.22 throw

Haxe allows throwing any kind of value using its throw syntax:

throw expr

A value which is thrown like this can be caught by catch blocks. If no such block catches it, the behavior is target-dependent.


Take the Haxe Survey!