errorHandler property

  1. @override
void Function(dynamic error, StackTrace? stack) errorHandler
inherited

An utility error handling function that will send reported errors to Bugsnag as unhandled. The errorHandler is suitable for use with common Dart error callbacks such as runZonedGuarded or Future.onError.

Implementation

@override
void Function(dynamic error, StackTrace? stack) get errorHandler =>
    client.errorHandler;