diff --git a/doc/api/errors.md b/doc/api/errors.md index 0f8372409d77ad..e521796edd75a5 100644 --- a/doc/api/errors.md +++ b/doc/api/errors.md @@ -558,15 +558,6 @@ found [here][online]. 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()` was not properly called. - - - ### ERROR CODES - - - ### 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. - ## 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 are not writable. + +### 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. + ### ERR_INVALID_ARG_TYPE