diff --git a/doc/api/errors.md b/doc/api/errors.md
index 500fb7801b61fd..56032ca3ad3359 100644
--- a/doc/api/errors.md
+++ b/doc/api/errors.md
@@ -1665,12 +1665,6 @@ An attempt to renegotiate the TLS session failed.
An attempt was made to renegotiate TLS on a socket instance with TLS disabled.
-
-### ERR_TLS_REQUIRED_SERVER_NAME
-
-While using TLS, the `server.addContext()` method was called without providing
-a hostname in the first parameter.
-
### ERR_TLS_SESSION_ATTACK
@@ -2030,6 +2024,15 @@ removed: v10.0.0
Used when a TLS renegotiation request has failed in a non-specific way.
+
+### ERR_TLS_REQUIRED_SERVER_NAME
+
+
+While using TLS, the `server.addContext()` method was called without providing
+a hostname in the first parameter.
+
### ERR_UNKNOWN_BUILTIN_MODULE
-* `hostname` {string} A SNI hostname or wildcard (e.g. `'*'`)
+* `servername` {string} A SNI hostname or wildcard (e.g. `'*'`)
* `context` {Object} An object containing any of the possible properties
from the [`tls.createSecureContext()`][] `options` arguments (e.g. `key`,
`cert`, `ca`, etc).
The `server.addContext()` method adds a secure context that will be used if
-the client request's SNI name matches the supplied `hostname` (or wildcard).
+the client request's SNI name matches the supplied `severname` (or wildcard).
### server.address()