Captures an exception event and sends it to Sentry.
The exception to capture.
Optional
Optional additional data to attach to the Sentry event.
the id of the captured Sentry event.
Captures an exception event and sends it to Sentry.