summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorMichaël Zasso <targos@protonmail.com>2018-03-15 14:22:36 +0100
committerMichaël Zasso <targos@protonmail.com>2018-03-21 20:14:57 +0100
commitab8bf26994677a5f0823b3810668f6cfa18374d9 (patch)
tree3f7e5a5f72d49d3fc3c1c0600c16234d15b1bda8 /doc
parentfddcd6253b237ca68430f44c7614bf52d57c4f97 (diff)
downloadnode-new-ab8bf26994677a5f0823b3810668f6cfa18374d9.tar.gz
fs,cluster,net: assign error codes to remaining errors
After this commit, all errors thrown from JS code in lib have an error code. PR-URL: https://github.com/nodejs/node/pull/19373 Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: James M Snell <jasnell@gmail.com>
Diffstat (limited to 'doc')
-rw-r--r--doc/api/errors.md6
1 files changed, 6 insertions, 0 deletions
diff --git a/doc/api/errors.md b/doc/api/errors.md
index 5e94535a3e..62a62d7665 100644
--- a/doc/api/errors.md
+++ b/doc/api/errors.md
@@ -777,6 +777,12 @@ Encoding provided to `util.TextDecoder()` API was not one of the
A `Promise` that was callbackified via `util.callbackify()` was rejected with a
falsy value.
+<a id="ERR_FS_FILE_TOO_LARGE"></a>
+### ERR_FS_FILE_TOO_LARGE
+
+An attempt has been made to read a file whose size is larger than the maximum
+allowed size for a `Buffer`.
+
<a id="ERR_FS_INVALID_SYMLINK_TYPE"></a>
### ERR_FS_INVALID_SYMLINK_TYPE