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

set http status for errors #2

Closed
cdepillabout opened this issue May 2, 2017 · 1 comment
Closed

set http status for errors #2

cdepillabout opened this issue May 2, 2017 · 1 comment
Labels

Comments

@cdepillabout
Copy link
Owner

@cdepillabout cdepillabout commented May 2, 2017

Currently there is no way to set the http status code when throwing errors (short of using a custom middleware).

It might be possible if something like haskell-servant/servant#732 gets implemented in servant.

@cdepillabout
Copy link
Owner Author

@cdepillabout cdepillabout commented Feb 13, 2018

This is fixed in #19.

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

Successfully merging a pull request may close this issue.

None yet
1 participant