isCompletedFailed property

bool isCompletedFailed

Returns true only if the action has completed (the 'after' method already ran), but either the 'before' or the 'reduce' methods have thrown an error. If this is true, it indicates that the reducer could NOT complete, and could not return a value to change the state.

Implementation

bool get isCompletedFailed => isCompleted && (originalError != null);