From 102e1aa4e3291fb5b63658d186d596d8a6403a9b Mon Sep 17 00:00:00 2001 From: Rich Trott Date: Sun, 28 May 2017 21:14:33 -0700 Subject: [PATCH] doc: fix ordering error in errors.md PR-URL: https://github.com/nodejs/node/pull/13274 Reviewed-By: Luigi Pinca Reviewed-By: James M Snell --- doc/api/errors.md | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) 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