-
-
Notifications
You must be signed in to change notification settings - Fork 37.1k
ENOENT error message inconsistencies #12351
Copy link
Copy link
Closed
Labels
errorsIssues and PRs related to JavaScript errors originating in Node.js core.Issues and PRs related to JavaScript errors originating in Node.js core.fsIssues and PRs related to file-system APIs and the fs module.Issues and PRs related to file-system APIs and the fs module.processIssues and PRs related to the process subsystem.Issues and PRs related to the process subsystem.
Description
Activity
Metadata
Metadata
Assignees
Labels
errorsIssues and PRs related to JavaScript errors originating in Node.js core.Issues and PRs related to JavaScript errors originating in Node.js core.fsIssues and PRs related to file-system APIs and the fs module.Issues and PRs related to file-system APIs and the fs module.processIssues and PRs related to the process subsystem.Issues and PRs related to the process subsystem.
Currently, most of the ENOENT error messages have a similar signature:
Error: ENOENT: no such file or directory, [call] '/full/path/to/filename'For example:
I've stumbled upon 2 cases that have different and somehow confusing signatures:
Are these cases worth unification? Can they be addressed in Node.js or they are libuv features?