doc: fix ordering error in errors.md
PR-URL: https://github.com/nodejs/node/pull/13274 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
This commit is contained in:
parent
f6665334e7
commit
102e1aa4e3
@ -558,15 +558,6 @@ found [here][online].
|
|||||||
the connected party did not properly respond after a period of time. Usually
|
the connected party did not properly respond after a period of time. Usually
|
||||||
encountered by [`http`][] or [`net`][] -- often a sign that a `socket.end()`
|
encountered by [`http`][] or [`net`][] -- often a sign that a `socket.end()`
|
||||||
was not properly called.
|
was not properly called.
|
||||||
|
|
||||||
<a id="ERROR_CODES"></a>
|
|
||||||
### ERROR CODES
|
|
||||||
|
|
||||||
<a id="ERR_INDEX_OUT_OF_RANGE"></a>
|
|
||||||
### ERR_INDEX_OUT_OF_RANGE
|
|
||||||
|
|
||||||
The `'ERR_INDEX_OUT_OF_RANGE'` error code is used when a given index is out of the accepted range.
|
|
||||||
|
|
||||||
|
|
||||||
<a id="nodejs-error-codes"></a>
|
<a id="nodejs-error-codes"></a>
|
||||||
## Node.js Error Codes
|
## Node.js Error Codes
|
||||||
@ -585,6 +576,12 @@ The `ERR_CONSOLE_WRITABLE_STREAM` error code is thrown when `Console` is
|
|||||||
instantiated without `stdout` stream or when `stdout` or `stderr` streams
|
instantiated without `stdout` stream or when `stdout` or `stderr` streams
|
||||||
are not writable.
|
are not writable.
|
||||||
|
|
||||||
|
<a id="ERR_INDEX_OUT_OF_RANGE"></a>
|
||||||
|
### ERR_INDEX_OUT_OF_RANGE
|
||||||
|
|
||||||
|
The `'ERR_INDEX_OUT_OF_RANGE'` error code is used when a given index is out of
|
||||||
|
the accepted range.
|
||||||
|
|
||||||
<a id="ERR_INVALID_ARG_TYPE"></a>
|
<a id="ERR_INVALID_ARG_TYPE"></a>
|
||||||
### ERR_INVALID_ARG_TYPE
|
### ERR_INVALID_ARG_TYPE
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user