kaizensoze/node-github

errors.js is basically useless

mikemimik opened this issue · 1 comments

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.

HttpError status is no longer undefined.