Skip to content

Commit baca6d3

Browse files
committed
doc: add a missing anchor to error codes
Only one error code was missing an appropriate anchor, and it was ERR_SCRIPT_EXECUTION_TIMEOUT. This commit adds that missing anchor. This is a part of the fixes hinted by #21470, which includes some tests for error codes usage and documentation and enforces a stricter format. PR-URL: #21483 Refs: #21470 Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com> Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Michaël Zasso <targos@protonmail.com>
1 parent 6ced651 commit baca6d3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

doc/api/errors.md

+1
Original file line numberDiff line numberDiff line change
@@ -1407,6 +1407,7 @@ An attempt was made to `require()` an [ES6 module][].
14071407
Script execution was interrupted by `SIGINT` (For example, when Ctrl+C was
14081408
pressed).
14091409

1410+
<a id="ERR_SCRIPT_EXECUTION_TIMEOUT"></a>
14101411
### ERR_SCRIPT_EXECUTION_TIMEOUT
14111412

14121413
Script execution timed out, possibly due to bugs in the script being executed.

0 commit comments

Comments
 (0)