pub fn format_vld_error(err: &VldError) -> ValueExpand description
Format a VldError into a JSON object with
"error" and "issues" keys — ready to be sent as a 422 response body.
Internally constructs a ValidationErrorBody and serializes it.
pub fn format_vld_error(err: &VldError) -> ValueFormat a VldError into a JSON object with
"error" and "issues" keys — ready to be sent as a 422 response body.
Internally constructs a ValidationErrorBody and serializes it.