Skip to main content

set_span_error

Function set_span_error 

Source
pub fn set_span_error(span: &mut BoxedSpan, error_type: &str, message: &str)
Available on crate feature otel only.
Expand description

Set span status to error with a message and error.type attribute.