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

error code 400 or 422 #99

Closed
auahmed opened this issue Nov 18, 2019 · 1 comment
Closed

error code 400 or 422 #99

auahmed opened this issue Nov 18, 2019 · 1 comment

Comments

@auahmed
Copy link

auahmed commented Nov 18, 2019

currently if the schema does not match the error thrown is a 500 series which is not the best.
500 is server based errors while a schema error is a 400 or 422.

Or is there a way using the errorFormatter that we can update the status code?

@auahmed
Copy link
Author

auahmed commented Nov 18, 2019

not an issue

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

No branches or pull requests

1 participant