diff --git a/doc/api/errors.md b/doc/api/errors.md
index fdc3cc1e6ecb42..d19cdbdd439c8a 100644
--- a/doc/api/errors.md
+++ b/doc/api/errors.md
@@ -2063,12 +2063,6 @@ attempt to set the `secureProtocol` explicitly. Use one mechanism or the other.
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 host name in the first parameter.
-
### `ERR_TLS_SESSION_ATTACK`
@@ -2534,6 +2528,16 @@ 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 host name in the first parameter.
+
### `ERR_TRANSFERRING_EXTERNALIZED_SHAREDARRAYBUFFER`
-* `hostname` {string} A SNI host name or wildcard (e.g. `'*'`)
+* `servername` {string} A SNI server name or wildcard (e.g. `'*'`). Must not be
+ an IP address.
* `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 `servername` (or wildcard).
### `server.address()`