Standard errors types with file line info ?
Irakli Gozalishvili
rfobic at gmail.com
Thu Feb 28 16:57:47 PST 2013
Hi,
My apologies if that's being already discussed (have not being following this list actively lately).
I would be really love if error types could be standardised such that `fileName`, `lineNumber` information could be taken from them reliably.
It would be also great if error.stack was in JSON structure instead of string that is not easy to work with.
It would be yet even better if optional fileName, lineNumber, columnNumber could be specified at / post error construction time, for example spidermonkey already has support for this:
https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Error
Regards
--
Irakli Gozalishvili
Web: http://www.jeditoolkit.com/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20130228/6bf80e33/attachment.html>
More information about the es-discuss
mailing list