onError method
Called when action execution fails
Implementation
@override
Future<void> onError(Object error, StackTrace stackTrace, Action action) async {
debugPrint('🔴 [Middleware] Error in ${action.type}: $error');
}
Called when action execution fails
@override
Future<void> onError(Object error, StackTrace stackTrace, Action action) async {
debugPrint('🔴 [Middleware] Error in ${action.type}: $error');
}