Skip to content

doc: clarify fs.copyFile() error handling#63544

Open
bobu-putheeckal wants to merge 1 commit into
nodejs:mainfrom
bobu-putheeckal:codex-doc-52916
Open

doc: clarify fs.copyFile() error handling#63544
bobu-putheeckal wants to merge 1 commit into
nodejs:mainfrom
bobu-putheeckal:codex-doc-52916

Conversation

@bobu-putheeckal
Copy link
Copy Markdown

Refs: #52916

This clarifies how fsPromises.copyFile(), fs.copyFile(), and fs.copyFileSync() surface errors and points readers to Common System Errors for code values.

Validation:

  • git diff --check
  • node tools/lint-md/lint-md.mjs doc/api/fs.md

@nodejs-github-bot nodejs-github-bot added doc Issues and PRs related to the documentations. fs Issues and PRs related to the fs subsystem / file system. labels May 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

doc Issues and PRs related to the documentations. fs Issues and PRs related to the fs subsystem / file system.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants