Exceptions/Catch an exception thrown in a nested call: Difference between revisions
Content added Content deleted
Langurmonkey (talk | contribs) |
|||
Line 1,873: | Line 1,873: | ||
</pre> |
</pre> |
||
=={{header| |
=={{header|langur}}== |
||
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. |
||
<lang |
<lang langur>val .U0 = h{"msg": "U0"} |
||
val .U1 = h{"msg": "U1"} |
val .U1 = h{"msg": "U1"} |
||