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

Comments

1 participant
@cdepillabout
Owner

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

This comment has been minimized.

Owner

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