Skip to content

Commit d99eb70

Browse files
haramjjasnell
andcommitted
Update doc/api/errors.md
Co-authored-by: James M Snell <[email protected]>
1 parent d1f998a commit d99eb70

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

doc/api/errors.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1362,8 +1362,10 @@ Path is a directory.
13621362

13631363
### `ERR_FS_FILE_TOO_LARGE`
13641364

1365-
An attempt was made to read a file larger than the supported 2 GiB limit for `fs.readFile()`. This is not a limitation of `Buffer`, but an internal I/O constraint.
1366-
For handling larger files, consider using `fs.createReadStream()` to read the file in chunks.
1365+
An attempt was made to read a file larger than the supported 2 GiB limit for
1366+
`fs.readFile()`. This is not a limitation of `Buffer`, but an internal I/O constraint.
1367+
For handling larger files, consider using `fs.createReadStream()` to read the
1368+
file in chunks.
13671369

13681370
<a id="ERR_FS_WATCH_QUEUE_OVERFLOW"></a>
13691371

0 commit comments

Comments
 (0)