Skip to content

Commit 15fdd98

Browse files
committed
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 6726246 commit 15fdd98

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
@@ -2139,11 +2139,6 @@ import 'package-name' // supported
21392139

21402140
`import` with URL schemes other than `file` and `data` is unsupported.
21412141

2142-
<aid="ERR_V8BREAKITERATOR"></a>
2143-
### `ERR_V8BREAKITERATOR`
2144-
2145-
The V8 `BreakIterator` API was used but the full ICU data set is not installed.
2146-
21472142
<aid="ERR_VALID_PERFORMANCE_ENTRY_TYPE"></a>
21482143
### `ERR_VALID_PERFORMANCE_ENTRY_TYPE`
21492144

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

2553+
<aid="ERR_V8BREAKITERATOR"></a>
2554+
### `ERR_V8BREAKITERATOR`
2555+
2556+
The V8 `BreakIterator` API was used but the full ICU data set is not installed.
2557+
25582558
<aid="ERR_VALUE_OUT_OF_RANGE"></a>
25592559
### `ERR_VALUE_OUT_OF_RANGE`
25602560
<!-- YAML

‎lib/internal/errors.js‎

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

1435-
E('ERR_V8BREAKITERATOR',
1436-
'Full ICU data not installed. See https://github.com/nodejs/node/wiki/Intl',
1437-
Error);
1438-
14391435
// This should probably be a `TypeError`.
14401436
E('ERR_VALID_PERFORMANCE_ENTRY_TYPE',
14411437
'At least one valid performance entry type is required',Error);

0 commit comments

Comments
(0)