From 05dae0231bc674178dc372af01f5c87890ad5eb2 Mon Sep 17 00:00:00 2001 From: Rich Trott Date: Sat, 15 Aug 2020 16:00:12 -0700 Subject: [PATCH] doc,lib: remove unused error code MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit As best as I can tell, ERR_V8BREAKITERATOR is unused anywhere in our code base and dependencies. Move to legacy errors. PR-URL: https://github.com/nodejs/node/pull/34792 Reviewed-By: Richard Lau Reviewed-By: Ruben Bridgewater Reviewed-By: Luigi Pinca Reviewed-By: James M Snell Reviewed-By: Tobias Nießen --- doc/api/errors.md | 10 +++++----- lib/internal/errors.js | 4 ---- 2 files changed, 5 insertions(+), 9 deletions(-) diff --git a/doc/api/errors.md b/doc/api/errors.md index 8cc3319717b1f3..adc1ecba2bce65 100644 --- a/doc/api/errors.md +++ b/doc/api/errors.md @@ -2053,11 +2053,6 @@ import 'package-name'; // supported `import` with URL schemes other than `file` and `data` is unsupported. - -### `ERR_V8BREAKITERATOR` - -The V8 `BreakIterator` API was used but the full ICU data set is not installed. - ### `ERR_VALID_PERFORMANCE_ENTRY_TYPE` @@ -2425,6 +2420,11 @@ An attempt was made to launch a Node.js process with an unknown `stdout` or `stderr` file type. This error is usually an indication of a bug within Node.js itself, although it is possible for user code to trigger it. + +### `ERR_V8BREAKITERATOR` + +The V8 `BreakIterator` API was used but the full ICU data set is not installed. + ### `ERR_VALUE_OUT_OF_RANGE`