isInfrastructureFailure method

  1. @protected
bool isInfrastructureFailure(
  1. Object? error
)
inherited

Whether error, raised while processing the current command, is an infrastructure failure (see the mixin documentation) rather than a rejection of the command.

Implementation

@protected
bool isInfrastructureFailure(Object? error) =>
    _journalWriteStarted || error is OptimisticConcurrencyException;