@@ -4013,6 +4013,20 @@ To make [`child_process.exec`][] invoke the default shell, either omit the
4013
4013
` shell ` option, or set it to a nullish value. If the intention is not to invoke
4014
4014
a shell, use [ ` child_process.execFile ` ] [ ] instead.
4015
4015
4016
+ ### DEP0197: ` util.types.isNativeError() `
4017
+
4018
+ <!-- YAML
4019
+ changes:
4020
+ - version:
4021
+ - REPLACEME
4022
+ pr-url: https://github.com/nodejs/node/pull/58262
4023
+ description: Documentation-only deprecation.
4024
+ -->
4025
+
4026
+ Type: Documentation-only
4027
+
4028
+ The [ ` util.types.isNativeError ` ] [ ] API is deprecated. Please use [ ` Error.isError ` ] [ ] instead.
4029
+
4016
4030
[ DEP0142 ] : #dep0142-repl_builtinlibs
4017
4031
[ NIST SP 800-38D ] : https://nvlpubs.nist.gov/nistpubs/Legacy/SP/nistspecialpublication800-38d.pdf
4018
4032
[ RFC 6066 ] : https://tools.ietf.org/html/rfc6066#section-3
@@ -4031,6 +4045,7 @@ a shell, use [`child_process.execFile`][] instead.
4031
4045
[ `Buffer.isBuffer()` ] : buffer.md#static-method-bufferisbufferobj
4032
4046
[ `Cipheriv` ] : crypto.md#class-cipheriv
4033
4047
[ `Decipheriv` ] : crypto.md#class-decipheriv
4048
+ [ `Error.isError` ] : https://github.com/tc39/proposal-is-error
4034
4049
[ `REPLServer.clearBufferedCommand()` ] : repl.md#replserverclearbufferedcommand
4035
4050
[ `ReadStream.open()` ] : fs.md#class-fsreadstream
4036
4051
[ `Server.getConnections()` ] : net.md#servergetconnectionscallback
@@ -4143,6 +4158,7 @@ a shell, use [`child_process.execFile`][] instead.
4143
4158
[ `util.isArray()` ] : util.md#utilisarrayobject
4144
4159
[ `util.promisify` ] : util.md#utilpromisifyoriginal
4145
4160
[ `util.toUSVString()` ] : util.md#utiltousvstringstring
4161
+ [ `util.types.isNativeError` ] : util.md#utiltypesisnativeerrorvalue
4146
4162
[ `util.types` ] : util.md#utiltypes
4147
4163
[ `util` ] : util.md
4148
4164
[ `worker.exitedAfterDisconnect` ] : cluster.md#workerexitedafterdisconnect
0 commit comments