captureException method
Reports the throwable
and optionally its stackTrace
to Sentry.io.
Implementation
Future<SentryId> captureException(
dynamic throwable, {
dynamic stackTrace,
Scope? scope,
Hint? hint,
}) {
final event = SentryEvent(
throwable: throwable,
timestamp: _options.clock(),
);
return captureEvent(
event,
stackTrace: stackTrace,
scope: scope,
hint: hint,
);
}