joyent/node — pull request #2646 by visionmedia (2012-01-31 00:46:28+00:00)
Title: more specific fs error messages

inspired by stack traces like these https://github.com/visionmedia/consolidate.js/issues/11

haha, without getting more information or console.log()ing the input it's not always obvious what goes wrong, especially for the functions that take >2 args