onDispatchFailed method

  1. @protected
void onDispatchFailed(
  1. StoreAction<State> action,
  2. dynamic error,
  3. StackTrace stackTrace
)

The onDispatchFailed method is called if an exception occurs during action execution.

Implementation

@protected
void onDispatchFailed(
  StoreAction<State> action,
  dynamic error,
  StackTrace stackTrace,
) {}