Provide the user with more direct error messages, in the event that an expected path that is supposed to be a directory, turns out to be a non-directory file.
It can happen, and unfortunately it's a subtle thing that will confused a lot of users, both new and seasoned. The user deserves a more useful error message than dumb ol' "ENOENT."
Provide the user with more direct error messages, in the event that an expected path that is supposed to be a directory, turns out to be a non-directory file.
It can happen, and unfortunately it's a subtle thing that will confused a lot of users, both new and seasoned. The user deserves a more useful error message than dumb ol' "ENOENT."