RetryException.fromAttempt constructor

RetryException.fromAttempt(
  1. int attempts
)

Creates a new RetryException with the number of made attempts.

Implementation

RetryException.fromAttempt(this.attempts);