standardizing Error.stack or equivalent

Anne van Kesteren annevk at
Thu Mar 27 09:38:47 PDT 2014

On Thu, Mar 27, 2014 at 4:31 PM, Mark Miller <erights at> 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 does
> 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?


More information about the es-discuss mailing list