From 7d0970ca66f192526390c33f6b8fc03e55e65971 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 a79f0b2a989daa..fd35d4e7b01eb7 100644 --- a/doc/api/errors.md +++ b/doc/api/errors.md @@ -2083,11 +2083,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` @@ -2480,6 +2475,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`