OnError typedef

OnError = void Function(Object error, StackTrace? stackTrace)

A function that handles errors.

Implementation

typedef OnError = void Function(Object error, StackTrace? stackTrace);