- From: James M Snell <notifications@github.com>
- Date: Thu, 22 Sep 2022 16:10:51 -0700
- To: whatwg/webidl <webidl@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Thursday, 22 September 2022 23:11:04 UTC
`message` and `name` are not relevant here. And it's too late for `DOMException` to not claim to be an `Error`, so the option remaining here is that if `DOMException` is not going to expose `cause` in a way consistent with `Error`, it should use a different property name, anything other than `cause` so that it does not intentionally introduce an inconsistency. Users will still have to special case `DOMException`, unfortunately but at least it wouldn't cause a conflict. -- Reply to this email directly or view it on GitHub: https://github.com/whatwg/webidl/pull/1179#issuecomment-1255646775 You are receiving this because you are subscribed to this thread. Message ID: <whatwg/webidl/pull/1179/c1255646775@github.com>
Received on Thursday, 22 September 2022 23:11:04 UTC