Expand description
Trace propagation utilities for Problem responses
This module provides helper traits and functions to automatically enrich
Problem with trace context:
trace_id: extracted from the current tracing spaninstance: extracted from the request URI
This eliminates per-callsite boilerplate and ensures consistent error reporting.
Traitsยง
- With
Request Context - Middleware-friendly: enrich errors from Axum extractors
- With
Trace Context - Helper trait for enriching Problem with trace context