diff options
author | Mohammed Keyvanzadeh <mohammadkeyvanzade94@gmail.com> | 2022-01-24 19:09:16 +0300 |
---|---|---|
committer | James M Snell <jasnell@gmail.com> | 2022-02-05 19:36:48 +0300 |
commit | 8c4b8b201ada6b76d5306c9c7f352e45087fb4a9 (patch) | |
tree | 0f3159d3dd6aad1159292956f1fe1550fb41d06a /doc/api/tls.md | |
parent | 217acb9036f39ea6088cee75f70f11602997e15f (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/tls.md')
-rw-r--r-- | doc/api/tls.md | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/doc/api/tls.md b/doc/api/tls.md index c0412cf1eaf..f7aeee4c0e2 100644 --- a/doc/api/tls.md +++ b/doc/api/tls.md @@ -1404,6 +1404,12 @@ Returns the numeric representation of the remote port. For example, `443`. <!-- YAML added: v0.11.8 +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`. --> * `options` {Object} |