Error stack

T.J. Crowder tj at crowdersoftware.com
Thu Jun 7 23:57:07 PDT 2012


On 8 June 2012 04:28, David Herman <dherman at mozilla.com> wrote:

> - You mentioned that compatibility requires error.stack to be a string,
> even though programs would really like to have a structured version. Should
> we offer a different property with structured stack frame info (probably
> with a getter to allow straight-forward lazy construction), called
> error.stackFrames or error.stackEntries or something?
>

Big +1 on that. Avoiding parsing information the engine has as discrete
items already is a Good Thing(tm). Perhaps it'll be aspirational at first,
but if specified now it'll happen eventually.

-- T.J.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20120608/f0204576/attachment-0001.html>


More information about the es-discuss mailing list