Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMohammed Keyvanzadeh <mohammadkeyvanzade94@gmail.com>2022-01-24 19:09:16 +0300
committerJames M Snell <jasnell@gmail.com>2022-02-05 19:36:48 +0300
commit8c4b8b201ada6b76d5306c9c7f352e45087fb4a9 (patch)
tree0f3159d3dd6aad1159292956f1fe1550fb41d06a /doc/api/net.md
parent217acb9036f39ea6088cee75f70f11602997e15f (diff)
lib: replace validator and error
Refs: https://github.com/nodejs/node/pull/41660 PR-URL: https://github.com/nodejs/node/pull/41678 Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com> Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com> Reviewed-By: Darshan Sen <raisinten@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
Diffstat (limited to 'doc/api/net.md')
-rw-r--r--doc/api/net.md6
1 files changed, 6 insertions, 0 deletions
diff --git a/doc/api/net.md b/doc/api/net.md
index f8bcb8dfc9d..99864eeb9fa 100644
--- a/doc/api/net.md
+++ b/doc/api/net.md
@@ -1136,6 +1136,12 @@ algorithm.
<!-- YAML
added: v0.1.90
+changes:
+ - version: REPLACEME
+ pr-url: https://github.com/nodejs/node/pull/41678
+ description: Passing an invalid callback to the `callback` argument
+ now throws `ERR_INVALID_ARG_TYPE` instead of
+ `ERR_INVALID_CALLBACK`.
-->
* `timeout` {number}