Re: [whatwg/dom] Expose `signal.reason` as `error.cause` for `AbortError` (Issue #1090)

[20.5.1.1 `Error` constructor](https://tc39.es/ecma262/multipage/fundamental-objects.html#sec-error-message) -> [20.5.8.1 InstallErrorCause](https://tc39.es/ecma262/multipage/fundamental-objects.html#sec-installerrorcause).
It's not defined as `Error.prototype.cause` and can be unset (i.e. not just `undefined`) if no cause was given: https://github.com/tc39/proposal-error-cause/issues/13, https://github.com/tc39/proposal-error-cause/issues/35.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/dom/issues/1090#issuecomment-1195169011
You are receiving this because you are subscribed to this thread.

Message ID: <whatwg/dom/issues/1090/1195169011@github.com>

Received on Tuesday, 26 July 2022 08:26:38 UTC