From 6264ac187af89f3b5c1a4b85c592555880a65902 Mon Sep 17 00:00:00 2001 From: Rich Trott Date: Sat, 30 Jan 2021 05:48:57 -0800 Subject: [PATCH] doc: clarify ERR_INVALID_REPL_INPUT usage The REPL documentation does not list prohibited inputs, but it does explain the conditions under which ERR_INVALID_REPL_INPUT is used. Update the error doc to indicate that. PR-URL: https://github.com/nodejs/node/pull/37143 Reviewed-By: Ruben Bridgewater Reviewed-By: Luigi Pinca --- doc/api/errors.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/api/errors.md b/doc/api/errors.md index 19176c54964912..4bd02a224ae207 100644 --- a/doc/api/errors.md +++ b/doc/api/errors.md @@ -1419,8 +1419,8 @@ which is not supported. ### `ERR_INVALID_REPL_INPUT` -The input may not be used in the [`REPL`][]. All prohibited inputs are -documented in the [`REPL`][]'s documentation. +The input may not be used in the [`REPL`][]. The conditions under which this +error is used are described in the [`REPL`][] documentation. ### `ERR_INVALID_RETURN_PROPERTY`