Exceptions/Catch an exception thrown in a nested call: Difference between revisions
Content added Content deleted
(→{{header|Lasso}}: Added stdout to code and output to example.) |
m (→{{header|Lasso}}: Corrected output) |
||
Line 1,310: | Line 1,310: | ||
}</lang> |
}</lang> |
||
{{out}} |
|||
Output: |
|||
<pre>foo |
|||
<lang Lasso>foo |
|||
- bar |
- bar |
||
- baz |
- baz |
||
Line 1,318: | Line 1,317: | ||
- bar |
- bar |
||
- baz |
- baz |
||
Throwing exception: U1</ |
Throwing exception: U1</pre> |
||
Error Stack: |
;Error Stack: |
||
< |
<pre>U1 |
||
13:2 error.lasso |
13:2 error.lasso |
||
38:19 Debugger |
38:19 Debugger |
||
Line 1,329: | Line 1,328: | ||
21:9 Debugger |
21:9 Debugger |
||
18:9 Debugger |
18:9 Debugger |
||
6:5 Debugger</ |
6:5 Debugger</pre> |
||
=={{header|Lua}}== |
=={{header|Lua}}== |