pub fn finalize(p: Problem, instance: &str, trace_id: Option<String>) -> ProblemExpand description
Helper to attach instance and trace_id to a Problem
This is a convenience function for enriching Problem instances with request-specific context before returning them as HTTP responses.