standardizing Error.stack or equivalent
Mark S. Miller
erights at google.com
Thu Mar 27 09:54:08 PDT 2014
Which existing API do you mean?
On Thu, Mar 27, 2014 at 9:38 AM, Anne van Kesteren <annevk at annevk.nl> wrote:
> On Thu, Mar 27, 2014 at 4:31 PM, Mark Miller <erights at gmail.com> wrote:
> > The stack should not be accessible given only the error object. Rather,
> > there should be a getStack function
> > <
> > which, given an error object, returns the stack. That way, code which
> > not have access to the getStack function cannot see the stacks.
> Given the existing API which we cannot remove, isn't it too late for
> that? Why would we want the asymmetry?
> es-discuss mailing list
> es-discuss at mozilla.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the es-discuss