lib,src: refactor buffer out of range index

PR-URL: https://github.com/nodejs/node/pull/11296
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
This commit is contained in:
larissayvette authored and Rich Trott committed 2017-05-27 21:11:26 -07:00
1 parent 1474b7a032
commit 234353a1b8
9 files changed
+72 -50

No files matched your search

+8
View File
@@ -558,6 +558,14 @@ 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.
<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>