-
Notifications
You must be signed in to change notification settings - Fork 295
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error handling: Always return instance of 'AuthenticationError' #105
Conversation
Error handling: Always return instance of 'AuthenticationError'
Cool, thanks! |
Can you please also push a new version to npm? Should be 3.0.0, as this is a breaking change as well. |
I will do a 2.1.0 version since we used the BadRequestError only so I suspect users to have checked for Error instances only. Good argument? |
Hmm, all error responses containing placeholders were simple objects |
Agree will do a 3.x but need to do some code clenaup/stuff before... |
Cool, thanks! |
Changed a lot in the past commits - wanna take a look? |
Haven't tested it yet in detail, but looks good to me at first glance. 👍 |
Great, the change works well for me. Ready for the new release. 👍 |
No description provided.