Exceptions/Catch an exception thrown in a nested call: Difference between revisions
Content added Content deleted
Langurmonkey (talk | contribs) |
Langurmonkey (talk | contribs) |
||
Line 1,925: | Line 1,925: | ||
Exceptions in langur are hashes that are guaranteed to always contain certain fields. |
Exceptions in langur are hashes that are guaranteed to always contain certain fields. |
||
There is no explicit try block. |
There is no explicit try block. A catch implicitly wraps the instructions preceding it within a block into a try block. |
||
Prior to 0.7, you would use .err instead of _err for an implicit exception variable. |
Prior to 0.7, you would use .err instead of _err for an implicit exception variable. |