diff --git a/doc/api/fs.md b/doc/api/fs.md index 65c8aa5ea4f42c..72fed4f8b93a32 100644 --- a/doc/api/fs.md +++ b/doc/api/fs.md @@ -4115,6 +4115,9 @@ the path returned will be passed as a {Buffer} object. If `path` resolves to a socket or a pipe, the function will return a system dependent name for that object. +A path that does not exist results in an ENOENT error. +`error.path` is the absolute file path. + ### `fs.realpath.native(path[, options], callback)`