doc,lib: remove unused error code

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 <riclau@uk.ibm.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Tobias Nießen <tniessen@tnie.de>
This commit is contained in:
Rich Trott authored and Beth Griggs committed 2020-08-20 15:05:20 +01:00
1 parent 513ab0e02f
commit 7d0970ca66
2 files changed
+5 -9

No files matched your search

+5 -5
View File
@@ -2083,11 +2083,6 @@ import 'package-name'; // supported
`import` with URL schemes other than `file` and `data` is unsupported.
<a id="ERR_V8BREAKITERATOR"></a>
### `ERR_V8BREAKITERATOR`
The V8 `BreakIterator` API was used but the full ICU data set is not installed.
<a id="ERR_VALID_PERFORMANCE_ENTRY_TYPE"></a>
### `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.
<a id="ERR_V8BREAKITERATOR"></a>
### `ERR_V8BREAKITERATOR`
The V8 `BreakIterator` API was used but the full ICU data set is not installed.
<a id="ERR_VALUE_OUT_OF_RANGE"></a>
### `ERR_VALUE_OUT_OF_RANGE`
<!-- YAML
-4
View File
@@ -1413,10 +1413,6 @@ E('ERR_UNSUPPORTED_DIR_IMPORT', "Directory import '%s' is not supported " +
E('ERR_UNSUPPORTED_ESM_URL_SCHEME', 'Only file and data URLs are supported ' +
'by the default ESM loader', Error);
E('ERR_V8BREAKITERATOR',
'Full ICU data not installed. See https://github.com/nodejs/node/wiki/Intl',
Error);
// This should probably be a `TypeError`.
E('ERR_VALID_PERFORMANCE_ENTRY_TYPE',
'At least one valid performance entry type is required', Error);