CourierErrorHandler typedef

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

Receives failures that are not thrown to the caller (see CourierError).

Implementation

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