pub fn event_from_error(err: &Error) -> Event<'static>
Expand description

Helper function to create an event from a anyhow::Error.