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 836680a

Browse filesBrowse files
Trottruyadorno
authored andcommitted
doc: use present tense in error messages
Error messages are a mix of present and past tense. They should be mostly or entirely present tense. This eliminates the past tense constructions "was found" and "were found". Backport-PR-URL: #35247 PR-URL: #35164 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Denys Otrishko <shishugi@gmail.com> Reviewed-By: Derek Lewis <DerekNonGeneric@inf.is> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
1 parent d8b5714 commit 836680a
Copy full SHA for 836680a

File tree

Expand file treeCollapse file tree

1 file changed

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

1 file changed

+4
-4
lines changed
Open diff view settings
Collapse file

‎doc/api/errors.md‎

Copy file name to clipboardExpand all lines: doc/api/errors.md
+4-4Lines changed: 4 additions & 4 deletions
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -1391,7 +1391,7 @@ An invalid or unknown file encoding was passed.
13911391
<a id="ERR_INVALID_PACKAGE_CONFIG"></a>
13921392
### `ERR_INVALID_PACKAGE_CONFIG`
13931393

1394-
An invalid `package.json` file was found which failed parsing.
1394+
An invalid `package.json` file failed parsing.
13951395

13961396
<a id="ERR_INVALID_PACKAGE_TARGET"></a>
13971397
### `ERR_INVALID_PACKAGE_TARGET`
@@ -1608,8 +1608,8 @@ is thrown if a required option is missing.
16081608
### `ERR_MISSING_MESSAGE_PORT_IN_TRANSFER_LIST`
16091609

16101610
An object that needs to be explicitly listed in the `transferList` argument
1611-
was found in the object passed to a `postMessage()` call, but not provided in
1612-
the `transferList` for that call. Usually, this is a `MessagePort`.
1611+
is in the object passed to a `postMessage()` call, but is not provided
1612+
in the `transferList` for that call. Usually, this is a `MessagePort`.
16131613

16141614
<a id="ERR_MISSING_PASSPHRASE"></a>
16151615
### `ERR_MISSING_PASSPHRASE`
@@ -2092,7 +2092,7 @@ import 'package-name'; // supported
20922092
### `ERR_VALID_PERFORMANCE_ENTRY_TYPE`
20932093

20942094
While using the Performance Timing API (`perf_hooks`), no valid performance
2095-
entry types were found.
2095+
entry types are found.
20962096

20972097
<a id="ERR_VM_DYNAMIC_IMPORT_CALLBACK_MISSING"></a>
20982098
### `ERR_VM_DYNAMIC_IMPORT_CALLBACK_MISSING`

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.