Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 05dae02

Browse filesBrowse 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 <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>
1 parent fb98e76 commit 05dae02
Copy full SHA for 05dae02

File tree

Expand file treeCollapse file tree

2 files changed

+5
-9
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

2 files changed

+5
-9
lines changed
Open diff view settings
Collapse file

‎doc/api/errors.md‎

Copy file name to clipboardExpand all lines: doc/api/errors.md
+5-5Lines changed: 5 additions & 5 deletions
  • Display the source diff
  • Display the rich diff
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
Collapse file

‎lib/internal/errors.js‎

Copy file name to clipboardExpand all lines: lib/internal/errors.js
-4Lines changed: 0 additions & 4 deletions
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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.