Skip to content

Commit d4a0300

Browse files
Trottcodebytere
authored andcommitted
doc: standardize on "host name" in errors.md
Our docs have a mix of "hostname" and "host name" in prose. Let's follow the usage of Unix man pages, RFCs, and most professionally-edited sources, and use "host name" in prose and "hostname" to refer to the command and in code. Lint rule forthcoming. PR-URL: #31326 Refs: #31073 Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Richard Lau <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Trivikram Kamat <[email protected]>
1 parent ad70132 commit d4a0300

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

doc/api/errors.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1784,7 +1784,7 @@ additional details.
17841784
<a id="ERR_TLS_CERT_ALTNAME_INVALID"></a>
17851785
### `ERR_TLS_CERT_ALTNAME_INVALID`
17861786

1787-
While using TLS, the hostname/IP of the peer did not match any of the
1787+
While using TLS, the host name/IP of the peer did not match any of the
17881788
`subjectAltNames` in its certificate.
17891789

17901790
<a id="ERR_TLS_DH_PARAM_SIZE"></a>
@@ -1835,7 +1835,7 @@ An attempt was made to renegotiate TLS on a socket instance with TLS disabled.
18351835
### `ERR_TLS_REQUIRED_SERVER_NAME`
18361836

18371837
While using TLS, the `server.addContext()` method was called without providing
1838-
a hostname in the first parameter.
1838+
a host name in the first parameter.
18391839

18401840
<a id="ERR_TLS_SESSION_ATTACK"></a>
18411841
### `ERR_TLS_SESSION_ATTACK`

0 commit comments

Comments
 (0)