added err.code; going to try nodejs v0.10