-
Notifications
You must be signed in to change notification settings - Fork 26
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
Errors in JSON format #33
Comments
Hi, @goshoo you may use custom error handler for this case #20 (comment) |
Hi @singulared, thanks for the link! |
@goshoo Can i close this issue? |
sure, but I think that it'll be a good idea this possibility for custom error handler to be documented somewhere. |
@goshoo |
Maybe it should be a unique list of fields which have errors (hash table) and every value for every field should be an array of error messages ( vector of Strings). |
I am thinking about another actix-web errors. Ok, I will try implement something with fixed structure on this weekend. |
Any updates on this? |
Hi,
this is a feature request.
is it possible somehow users to be able to configure format for validation errors. Now the only format is plain text but I would like JSON format to be an option as well.
The text was updated successfully, but these errors were encountered: