The try/fault statement executes a statement list in normal conditions but, if an exception is raised, switches to an alternative statement list and then raises again the original exception.
A try/fault statement has a syntax very similar to the try/finally syntax:
try statement-list fault statement-list end
The above statement is considered equivalent to this:
try statement-list except statement-list raise; end
Note that the included raise statement has no expression, and its function is to raise again the original exception object.
The Freya Programming Language
Statements
using statements
try/finally statements
try/except statements