ReportErrorHandler typedef

ReportErrorHandler = Future<void> Function(Object exception, StackTrace stack)

Define the type of function to handle errors.

Implementation

typedef ReportErrorHandler = Future<void> Function(
    Object exception, StackTrace stack);