pub fn capture_anyhow(e: &Error) -> Uuid
This will capture an anyhow error as a sentry event if a
sentry::Client is initialised, otherwise it will be a
no-op. The event is dispatched to the thread-local hub, with semantics as described in
See module level documentation for more information.