onError method

Future<void> onError(
  1. Object error,
  2. StackTrace stackTrace,
  3. Action action
)

Called when action execution fails

Implementation

Future<void> onError(Object error, StackTrace stackTrace, Action action) async {}