diff options
author | Joyee Cheung <joyeec9h3@gmail.com> | 2018-01-11 01:42:08 +0800 |
---|---|---|
committer | Joyee Cheung <joyeec9h3@gmail.com> | 2018-01-17 02:20:16 +0800 |
commit | 9ffebeab48e2e0b61dc0817430f089b6a1482ea7 (patch) | |
tree | 1ae99cf7e60636ea1d5fe3b643781054dbe114b7 /doc | |
parent | f75bc2c1a596e8b0dca83527ed1bad614e69eaef (diff) | |
download | node-new-9ffebeab48e2e0b61dc0817430f089b6a1482ea7.tar.gz |
tls: migrate argument type-checking errors
* Throw ERR_INVALID_ARG_TYPE from public APIs
* Assert argument types in bindings instead of throwing errors
PR-URL: https://github.com/nodejs/node/pull/18125
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Fedor Indutny <fedor.indutny@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Diffstat (limited to 'doc')
0 files changed, 0 insertions, 0 deletions