Standard errors types with file line info ?
rfobic at gmail.com
Thu Feb 28 16:57:47 PST 2013
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:
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the es-discuss