Standard errors types with file line info ?
Rick Waldron
waldron.rick at gmail.com
Thu Feb 28 18:15:11 PST 2013
On Thursday, February 28, 2013, Irakli Gozalishvili wrote:
> 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
>
>
IIRC, Arv was working on this here:
http://wiki.ecmascript.org/doku.php?id=strawman:error_stack
Rick
> 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/172aca9c/attachment.html>
More information about the es-discuss
mailing list