PostFrameErrorHandler typedef

PostFrameErrorHandler = void Function(Object error, StackTrace stackTrace, String operation)

Optional global error handler for all PostFrame operations. If set, this will be invoked whenever a PostFrame action throws an error.

Implementation

typedef PostFrameErrorHandler = void Function(
  Object error,
  StackTrace stackTrace,
  String operation,
);