kaizensoze / node-github

[DEPRECATED] Node.js wrapper for GitHub API
https://kaizensoze.github.io/node-github/
MIT License
29 stars 5 forks source link

errors.js is basically useless #79

Closed mikemimik closed 8 years ago

mikemimik commented 8 years ago

The statusCodes and errors don't mean anything while in use. err.toJSON() for example always returns an object with a status property that is always undefined.

I will create a PR with some changes for this when I have a chance, for now just putting this here so I remember.

kaizensoze commented 8 years ago

HttpError status is no longer undefined.