Function sentry::integrations::tracing::exception_from_event
source · pub fn exception_from_event<S>(
event: &Event<'_>,
_ctx: Context<'_, S>
) -> Event<'static>where
S: Subscriber + for<'a> LookupSpan<'a>,
Available on crate feature
tracing
only.Expand description
Creates an exception Event
from a given [tracing_core::Event
]