Re: [heycam/webidl] Constructing DOMException with causes (#969)

For my part, I'm quite supportive. (Perhaps not surprising given my original pitch at https://github.com/tc39/proposal-error-cause/issues/10#issuecomment-735929538 🙂.)

IMO it should overload the second argument with a name-containing dictionary member. That allows more uniform usage of error constructors, as I explained in the link above. It makes `DOMException`'s `name` a bit more "normal" as it sits alongside `cause`.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/heycam/webidl/issues/969#issuecomment-806106163

Received on Wednesday, 24 March 2021 19:35:47 UTC