Skip to content

Commit 7d0970c

Browse files
TrottBethGriggs
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 513ab0e commit 7d0970c

File tree

2 files changed

+5
-9
lines changed

2 files changed

+5
-9
lines changed

doc/api/errors.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2083,11 +2083,6 @@ import 'package-name'; // supported
20832083

20842084
`import` with URL schemes other than `file` and `data` is unsupported.
20852085

2086-
<a id="ERR_V8BREAKITERATOR"></a>
2087-
### `ERR_V8BREAKITERATOR`
2088-
2089-
The V8 `BreakIterator` API was used but the full ICU data set is not installed.
2090-
20912086
<a id="ERR_VALID_PERFORMANCE_ENTRY_TYPE"></a>
20922087
### `ERR_VALID_PERFORMANCE_ENTRY_TYPE`
20932088

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

2478+
<a id="ERR_V8BREAKITERATOR"></a>
2479+
### `ERR_V8BREAKITERATOR`
2480+
2481+
The V8 `BreakIterator` API was used but the full ICU data set is not installed.
2482+
24832483
<a id="ERR_VALUE_OUT_OF_RANGE"></a>
24842484
### `ERR_VALUE_OUT_OF_RANGE`
24852485
<!-- YAML

lib/internal/errors.js

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1413,10 +1413,6 @@ E('ERR_UNSUPPORTED_DIR_IMPORT', "Directory import '%s' is not supported " +
14131413
E('ERR_UNSUPPORTED_ESM_URL_SCHEME', 'Only file and data URLs are supported ' +
14141414
'by the default ESM loader', Error);
14151415

1416-
E('ERR_V8BREAKITERATOR',
1417-
'Full ICU data not installed. See https://github.com/nodejs/node/wiki/Intl',
1418-
Error);
1419-
14201416
// This should probably be a `TypeError`.
14211417
E('ERR_VALID_PERFORMANCE_ENTRY_TYPE',
14221418
'At least one valid performance entry type is required', Error);

0 commit comments

Comments
 (0)