diff --git a/doc/api/errors.md b/doc/api/errors.md
index 79570ffb510ea9..2cb4bc067e24b8 100644
--- a/doc/api/errors.md
+++ b/doc/api/errors.md
@@ -1305,7 +1305,7 @@ invalid.
### ERR_INVALID_PROTOCOL
-An invalid `options.protocol` was passed.
+An invalid `options.protocol` was passed to `http.request()`.
### ERR_INVALID_REPL_EVAL_CONFIG