isError property

bool isError

Check if error state

Implementation

bool get isError => this is AggregateStateError<TEvent, TValue, TId, TState>;