Files
node/doc/api
Julian Dax 35dd93841b doc: improve documentation for util.types.isNativeError()
Makes clear what a native error is by linking the spec. Explains that
`instanceof Error` and util.types.isNativeError() are not equivalent.
Give examples for objects that are `instance of Error` but not native
errors and vice versa. Recommends checking for both if one wants to find
out if something is an error.

PR-URL: https://github.com/nodejs/node/pull/46840
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
2023-03-18 13:13:37 +00:00
..
2023-03-03 23:46:12 +00:00
2023-03-14 19:52:10 +01:00
2023-01-14 14:25:08 +00:00
2023-02-23 18:11:51 +00:00
2023-03-10 17:09:54 +00:00
2023-03-14 19:52:10 +01:00
2023-03-14 19:52:10 +01:00
2022-06-30 09:34:10 -04:00
2023-01-15 21:08:45 +00:00
2023-03-14 19:52:10 +01:00
2022-12-24 21:04:19 +01:00
2023-03-14 19:52:10 +01:00
2023-03-14 19:52:10 +01:00
2023-03-14 19:52:10 +01:00
2022-11-01 04:21:13 +00:00
2023-03-14 19:52:10 +01:00
2023-03-14 19:52:10 +01:00