Creates a 422 Unprocessable Entity error wrapping a list of validation failures.
422 Unprocessable Entity
The errors array is stored in the error's details.errors so it survives serialization into both the default and RFC 7807 error bodies.
errors
details.errors
The validation failures that caused this error
Optional
Optional custom message (defaults to a count-based summary)
A 422 HttpError
422
HttpError
0.1.0
Creates a
422 Unprocessable Entityerror wrapping a list of validation failures.The
errorsarray is stored in the error'sdetails.errorsso it survives serialization into both the default and RFC 7807 error bodies.