creationix / nstore

nStore is a simple, in-process key/value database for node.js
MIT License
392 stars 31 forks source link

fix: process.ENOENT is undefined #48

Closed basti1302 closed 9 years ago

basti1302 commented 9 years ago

process.ENOENT was removed, I think somewhere around node 0.4 or so. Setting error.errno = process.ENOENT actually sets the errno to undefined on all but very ancient node versions. This makes it impossible to check for the actual error reason.

Researching I actually found some discussions on an old connect issue where you participated that talk about this: https://github.com/senchalabs/connect/issues/119 :-)

basti1302 commented 9 years ago

Closing this due to lack of interest (mainly to get it out of my list of open pull requests)