Skip to content

Commit 05dae02

Browse files
Trottaddaleax
authored andcommitted
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: #34792 Reviewed-By: Richard Lau <[email protected]> Reviewed-By: Ruben Bridgewater <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Tobias Nießen <[email protected]>
1 parent fb98e76 commit 05dae02

File tree

2 files changed

+5
-9
lines changed

2 files changed

+5
-9
lines changed

doc/api/errors.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -2053,11 +2053,6 @@ import 'package-name'; // supported
20532053

20542054
`import` with URL schemes other than `file` and `data` is unsupported.
20552055

2056-
<a id="ERR_V8BREAKITERATOR"></a>
2057-
### `ERR_V8BREAKITERATOR`
2058-
2059-
The V8 `BreakIterator` API was used but the full ICU data set is not installed.
2060-
20612056
<a id="ERR_VALID_PERFORMANCE_ENTRY_TYPE"></a>
20622057
### `ERR_VALID_PERFORMANCE_ENTRY_TYPE`
20632058

@@ -2425,6 +2420,11 @@ An attempt was made to launch a Node.js process with an unknown `stdout` or
24252420
`stderr` file type. This error is usually an indication of a bug within Node.js
24262421
itself, although it is possible for user code to trigger it.
24272422

2423+
<a id="ERR_V8BREAKITERATOR"></a>
2424+
### `ERR_V8BREAKITERATOR`
2425+
2426+
The V8 `BreakIterator` API was used but the full ICU data set is not installed.
2427+
24282428
<a id="ERR_VALUE_OUT_OF_RANGE"></a>
24292429
### `ERR_VALUE_OUT_OF_RANGE`
24302430
<!-- YAML

lib/internal/errors.js

-4
Original file line numberDiff line numberDiff line change
@@ -1423,10 +1423,6 @@ E('ERR_UNSUPPORTED_DIR_IMPORT', "Directory import '%s' is not supported " +
14231423
E('ERR_UNSUPPORTED_ESM_URL_SCHEME', 'Only file and data URLs are supported ' +
14241424
'by the default ESM loader', Error);
14251425

1426-
E('ERR_V8BREAKITERATOR',
1427-
'Full ICU data not installed. See https://github.com/nodejs/node/wiki/Intl',
1428-
Error);
1429-
14301426
// This should probably be a `TypeError`.
14311427
E('ERR_VALID_PERFORMANCE_ENTRY_TYPE',
14321428
'At least one valid performance entry type is required', Error);

0 commit comments

Comments
 (0)