Exceptions: Difference between revisions

Content added Content deleted
m ("moved" SHORTENED CATCH to under the Langur language.)
Line 1,552: Line 1,552:
}</lang>
}</lang>


== shortened catch ==
=== 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.
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.