Error stack

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

On 8 June 2012 04:28, David Herman <dherman at> 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: <>

More information about the es-discuss mailing list