ShouldRetryFunction

typealias ShouldRetryFunction<TError> = (failureCount: Int, error: TError) -> Boolean(source)