- From: Benjamin Gruenbaum <notifications@github.com>
- Date: Wed, 03 Feb 2021 15:07:25 -0800
- To: whatwg/dom <dom@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Wednesday, 3 February 2021 23:08:28 UTC
> If Node doesn't expose DOMException how can we vend abort errors for cases like the reject example above? Basically it's up to userland to create a `class AbortError extends Error { code = 'ABORT_ERR' }`. We can expose it (there has been talk of exposing the internal errors https://github.com/nodejs/node/issues/34348 https://github.com/nodejs/node/issues/14554 ) - honestly no one has asked for Node to expose AbortError yet. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/whatwg/dom/issues/927#issuecomment-772888658
Received on Wednesday, 3 February 2021 23:08:28 UTC