diff options
author | Sam Roberts <vieuxtech@gmail.com> | 2018-11-20 15:30:34 -0800 |
---|---|---|
committer | Daniel Bevenius <daniel.bevenius@gmail.com> | 2018-12-03 07:38:59 +0100 |
commit | b05b330025b9d69baa82812774be92b1be4a318c (patch) | |
tree | ce4ef87bdfe790c6af54f81d545865bd4265b3e0 /doc | |
parent | 3513b0c3d9711e5eee47ef15b7913f0ce4483663 (diff) | |
download | android-node-v8-b05b330025b9d69baa82812774be92b1be4a318c.tar.gz android-node-v8-b05b330025b9d69baa82812774be92b1be4a318c.tar.bz2 android-node-v8-b05b330025b9d69baa82812774be92b1be4a318c.zip |
tls: add code for ERR_TLS_INVALID_PROTOCOL_METHOD
Add an error code property to invalid `secureProtocol` method
exceptions.
PR-URL: https://github.com/nodejs/node/pull/24729
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Diffstat (limited to 'doc')
-rw-r--r-- | doc/api/errors.md | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/doc/api/errors.md b/doc/api/errors.md index 75d0f368ca..3b4ea6156f 100644 --- a/doc/api/errors.md +++ b/doc/api/errors.md @@ -1655,6 +1655,12 @@ recommended to use 2048 bits or larger for stronger security. A TLS/SSL handshake timed out. In this case, the server must also abort the connection. +<a id="ERR_TLS_INVALID_PROTOCOL_METHOD"></a> +### ERR_TLS_INVALID_PROTOCOL_METHOD + +The specified `secureProtocol` method is invalid. It is either unknown, or +disabled because it is insecure. + <a id="ERR_TLS_INVALID_PROTOCOL_VERSION"></a> ### ERR_TLS_INVALID_PROTOCOL_VERSION |