Function sentry_tracing::exception_from_event
source ยท pub fn exception_from_event<'context, S>(
event: &Event<'_>,
ctx: impl Into<Option<Context<'context, S>>>,
) -> Event<'static>where
S: Subscriber + for<'a> LookupSpan<'a>,
Expand description
Creates an exception Event
from a given tracing_core::Event