Skip to content

Improve filesystem error message handling for ENOTDIR Fixes #23350 #23350

@SHARABUMANOJKUMAR

Description

@SHARABUMANOJKUMAR

Problem

Currently, ENOTDIR filesystem error is not handled explicitly, which can lead to unclear error messages.

Proposed Solution

Add support for ENOTDIR in fsErrorMessages.ts with a user-friendly message.

Benefit

Improves clarity when a file is used instead of a directory.

Metadata

Metadata

Assignees

Labels

No fields configured for Feature.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions