Skip to main content

finalize

Function finalize 

Source
pub fn finalize(p: Problem, instance: &str, trace_id: Option<String>) -> Problem
Expand 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.