RetryError constructor

RetryError(
  1. String message, {
  2. required RetryErrorReason reason,
  3. required List<AimuxException> errors,
})

Implementation

RetryError(super.message,
    {required this.reason, required List<AimuxException> errors})
    : assert(errors.isNotEmpty),
      errors = List.unmodifiable(errors),
      super(code: AimuxErrorCode.retry);