RetryDecision.abort constructor

RetryDecision.abort(
  1. String reason
)

Create a decision to abort with the given reason.

Implementation

factory RetryDecision.abort(String reason) =>
    RetryDecision._(shouldRetry: false, abortReason: reason);