captureThrowable

suspend fun captureThrowable(t: Throwable, body: suspend SentryExceptionCapture.() -> Unit = {}): SentryId?

Capture a Throwable exception, submitting it to Sentry with the breadcrumbs in this context.