diff --git a/doc/api/errors.md b/doc/api/errors.md
index 8ecb313841c073..2adc69eadc58dc 100644
--- a/doc/api/errors.md
+++ b/doc/api/errors.md
@@ -1820,8 +1820,8 @@ 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_CONTEXT
+
+### `ERR_TLS_INVALID_CONTEXT`