indexzero/node-asana-api — pull request #10 by henriksjostrom (2014-02-07 17:31:52+00:00)
Title: Use nodes build in status codes for errors rather than your own list

By using http.STATUS_CODES[statusCode] we get more status codes.

If the parsing fails the error is now returned to the callback.

Please not that I could not get the tests to run due to lacking config.