pub fn validation_error_response(errors: &ValidationErrors) -> AuthResponseExpand description
Convert validator::ValidationErrors into a standardized error response body.
Returns a 400 response with { "code": "VALIDATION_ERROR", "message": "[body.field] ..." }
matching the TS better-auth error shape.