Skip to main content

problem_with_errors

Function problem_with_errors 

Source
pub fn problem_with_errors<E: Serialize>(
    status: u16,
    title: impl Into<String>,
    detail: impl Into<String>,
    errors: &[E],
) -> Response
Expand description

Convenience for a field-error list (errors array).