Skip to content

Commit 102e1aa

Browse files
committed
doc: fix ordering error in errors.md
PR-URL: #13274 Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: James M Snell <[email protected]>
1 parent f666533 commit 102e1aa

File tree

1 file changed

+6
-9
lines changed

1 file changed

+6
-9
lines changed

doc/api/errors.md

+6-9
Original file line numberDiff line numberDiff line change
@@ -558,15 +558,6 @@ found [here][online].
558558
the connected party did not properly respond after a period of time. Usually
559559
encountered by [`http`][] or [`net`][] -- often a sign that a `socket.end()`
560560
was not properly called.
561-
562-
<a id="ERROR_CODES"></a>
563-
### ERROR CODES
564-
565-
<a id="ERR_INDEX_OUT_OF_RANGE"></a>
566-
### ERR_INDEX_OUT_OF_RANGE
567-
568-
The `'ERR_INDEX_OUT_OF_RANGE'` error code is used when a given index is out of the accepted range.
569-
570561

571562
<a id="nodejs-error-codes"></a>
572563
## Node.js Error Codes
@@ -585,6 +576,12 @@ The `ERR_CONSOLE_WRITABLE_STREAM` error code is thrown when `Console` is
585576
instantiated without `stdout` stream or when `stdout` or `stderr` streams
586577
are not writable.
587578

579+
<a id="ERR_INDEX_OUT_OF_RANGE"></a>
580+
### ERR_INDEX_OUT_OF_RANGE
581+
582+
The `'ERR_INDEX_OUT_OF_RANGE'` error code is used when a given index is out of
583+
the accepted range.
584+
588585
<a id="ERR_INVALID_ARG_TYPE"></a>
589586
### ERR_INVALID_ARG_TYPE
590587

0 commit comments

Comments
 (0)