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