Exceptions/Catch an exception thrown in a nested call: Difference between revisions

Content added Content deleted
m (→‎{{header|D}}: pre not lang)
Line 82: Line 82:


Result:
Result:
<lang D>
<pre>
Exception U0 caught
Exception U0 caught
test.U1: U1 error message
test.U1: U1 error message
</lang>
</pre>


If you have tango stack-trace, stack-trace will be print after second message.
If you have tango stack-trace, stack-trace will be print after second message.