• Captures an exception event and sends it to Sentry.

    Parameters

    • exception: any

      The exception to capture.

    • Optionalhint: ExclusiveEventHintOrCaptureContext

      Optional additional data to attach to the Sentry event.

    Returns string

    the id of the captured Sentry event.