desmondmorris / node-twitter

Client library for the Twitter REST and Streaming API's.

Home Page:https://www.npmjs.com/package/twitter

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Please add the Status Code to the thrown error

justinmchase opened this issue · comments

Here:
https://github.com/desmondmorris/node-twitter/blob/master/lib/twitter.js#L177

It would be really nice if the status code was attached to the error object not just put into the message as a string.