[][src]Module tracing_error::prelude

This is supported on feature="traced-error" only.

The tracing-error prelude.

This brings into scope the InstrumentError, InstrumentResult, and ExtractSpanTraceextension traits. These traits allow attachingSpanTraces to errors and subsequently retrieving them from dyn Error` trait objects.

Traits

_feature="traced-error"

A trait for extracting SpanTraces created by in_current_span() from dyn Error trait objects

_feature="traced-error"

Extension trait for instrumenting errors with SpanTraces

_feature="traced-error"

Extension trait for instrumenting errors in Results with SpanTraces