node
node copied to clipboard
`Error.isError` does not properly works with `DOMException`
Version
v24.0.0-nightly20250503f552c86fec
Platform
macOS 15.5
What steps will reproduce the bug?
Error.isError(new DOMException) // => false
What is the expected behavior? Why is that the expected behavior?
true
Additional information
Similar to https://github.com/oven-sh/bun/issues/15821
It seems it's a duplicate of https://github.com/nodejs/node/issues/56497, but it's actual since Error.isError was enabled by default in V8 13.0 -> 13.6 -> Node 24.