异常情况(exceptions)

Sets RetryConfig.exceptions, the simple class names of failures to retry on, or unsets it if null. Leaves RetryConfig.exceptionClasses unchanged.


fun exceptions(exception: String, vararg moreExceptions: String): RetryConfig.Builder

Sets RetryConfig.exceptions from the given names, like the list overload.