EngineErrorHandler<T extends Object> typedef

EngineErrorHandler<T extends Object> = FutureOr<bool> Function(EngineContext context, T error, StackTrace stackTrace)

Handles an error of type T and reports whether it was handled.

Implementation

typedef EngineErrorHandler<T extends Object> =
    FutureOr<bool> Function(
      EngineContext context,
      T error,
      StackTrace stackTrace,
    );