Skip to content

Commit

Permalink
update error message in lib/internal/error.js
Browse files Browse the repository at this point in the history
  • Loading branch information
parvarish-code committed Dec 13, 2024
1 parent 95912f6 commit 22aef2e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/internal/errors.js
Original file line number Diff line number Diff line change
Expand Up @@ -1218,7 +1218,7 @@ E('ERR_FS_CP_SYMLINK_TO_SUBDIRECTORY',
'Cannot overwrite symlink in subdirectory of self', SystemError);
E('ERR_FS_CP_UNKNOWN', 'Cannot copy an unknown file type', SystemError);
E('ERR_FS_EISDIR', 'Path is a directory', SystemError, HideStackFramesError);
E('ERR_FS_FILE_TOO_LARGE', 'File size (%s) is greater than 2 GiB', RangeError);
E('ERR_FS_FILE_TOO_LARGE', 'File size (%s) is greater than 2 GiB is not supported with fs.ReadFile. Use fs.createReadStream instead to read larger files in chunks', RangeError);
E('ERR_HTTP2_ALTSVC_INVALID_ORIGIN',
'HTTP/2 ALTSVC frames require a valid origin', TypeError);
E('ERR_HTTP2_ALTSVC_LENGTH',
Expand Down

0 comments on commit 22aef2e

Please sign in to comment.