(exception: unknown, hint?: ExclusiveEventHintOrCaptureContext)
| 29 | * @returns the id of the captured Sentry event. |
| 30 | */ |
| 31 | export function captureException(exception: unknown, hint?: ExclusiveEventHintOrCaptureContext): string { |
| 32 | return getCurrentScope().captureException(exception, parseEventHintOrCaptureContext(hint)); |
| 33 | } |
| 34 | |
| 35 | /** |
| 36 | * Captures a message event and sends it to Sentry. |
no test coverage detected