[]Function sentry::integrations::error_chain::event_from_error_chain

pub fn event_from_error_chain<T>(e: &T) -> Event<'static> where
    T: ChainedError,
    <T as ChainedError>::ErrorKind: Debug,
    <T as ChainedError>::ErrorKind: Display

Creates an event from an error chain.