Error caused by other error

Michał Wadas michalwadas at gmail.com
Mon Aug 6 12:48:36 UTC 2018


Was there any proposal to introduce longer stack traces to language?

Eg.
```
try {
catch Error('foo');
} catch (err) {
throw Error('bar'); // stack trace from caught error is lost
}
```
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20180806/fb05a6fb/attachment.html>


More information about the es-discuss mailing list