Updated error object to match Node.js. Solves issue #125.