onReactionError method

Dispose onReactionError(
  1. ReactionErrorHandler handler
)

Implementation

Dispose onReactionError(ReactionErrorHandler handler) {
  config._reactionErrorHandlers.add(handler);
  return () {
    config._reactionErrorHandlers.removeWhere((f) => f == handler);
  };
}