Skip to main content

problem_response

Function problem_response 

Source
pub fn problem_response(
    status: u16,
    slug: &str,
    title: &str,
    detail: impl Into<String>,
    instance: &str,
) -> HttpResponse
Expand description

Build an RFC 9457 application/problem+json HttpResponse.