pub fn problem_response(
status: u16,
slug: &str,
title: &str,
detail: impl Into<String>,
instance: &str,
) -> HttpResponseExpand description
Build an RFC 9457 application/problem+json HttpResponse.
pub fn problem_response(
status: u16,
slug: &str,
title: &str,
detail: impl Into<String>,
instance: &str,
) -> HttpResponseBuild an RFC 9457 application/problem+json HttpResponse.