captureException static method

Future<void> captureException(
  1. dynamic exception, {
  2. StackTrace? stackTrace,
})

Implementation

static Future<void> captureException(
  dynamic exception, {
  StackTrace? stackTrace,
}) async {
  await Sentry.captureException(
    exception,
    stackTrace: stackTrace,
  );
}