pub async fn error_mapping_middleware(request: Request, next: Next) -> ResponseExpand description
Passthrough middleware kept for backwards compatibility with the api-gateway
layer stack. The real work (logging diagnostic(), filling trace_id /
instance) is now done by canonical_error_middleware.