Exceptions: Difference between revisions

m
Line 1,553:
 
=== shortened catch ===
A catch can be shortened by using a single expression that does not start with a variable name. This uses the implicit _err exception variable. Prior to 0.7.0, the implicit exception variable was .err.
 
A shortened catch does not allow an else section (action for no exception).
1,007

edits