retryCatching

inline fun <R> retryCatching(n: @Range(from = 1, to = 2147483647) Int, block: () -> R): Result<R>

执行 nblock, 在第一次成功时返回执行结果, 在捕获到异常时返回异常.