Re: throw vs promise reject

On 9/20/18 2:45 PM, Tab Atkins Jr. wrote:
> Tangential to what Boris just said, note that all promises rejected by
> the platform get rejected with an Error, so you still get a stack
> trace either way. ^_^

Sort of.   A bunch of them get rejected with a DOMException instead. 
That said, those have a stack as well, in browsers though not in the spec.


Received on Thursday, 20 September 2018 18:57:45 UTC