Skip to content
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

Catch error and send status #16

Open
bredele opened this issue Jul 12, 2017 · 1 comment
Open

Catch error and send status #16

bredele opened this issue Jul 12, 2017 · 1 comment

Comments

@bredele
Copy link
Contributor

bredele commented Jul 12, 2017

We should properly catch errors and send payload with it. Unknow errors should return forbidden and a reason.

@bredele
Copy link
Contributor Author

bredele commented Jul 12, 2017

https://httpstatuses.com/401
Shows that according the error we should set header and/or payload.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant