From b05b330025b9d69baa82812774be92b1be4a318c Mon Sep 17 00:00:00 2001 From: Sam Roberts Date: Tue, 20 Nov 2018 15:30:34 -0800 Subject: 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 Reviewed-By: James M Snell --- doc/api/errors.md | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'doc') 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. + +### ERR_TLS_INVALID_PROTOCOL_METHOD + +The specified `secureProtocol` method is invalid. It is either unknown, or +disabled because it is insecure. + ### ERR_TLS_INVALID_PROTOCOL_VERSION -- cgit v1.2.3