Specifies which failure types to retry on.
retry(2) { whenType(RetryWhen.RunnerSystemFailure)}
Official documentation