From 06d74956ae960c066c054a0bd84795025a587e77 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 6f7b0188d8697c..6e44f396cd47af 100644 --- a/doc/api/errors.md +++ b/doc/api/errors.md @@ -1568,8 +1568,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`