retryIfServerFault

fun retryIfServerFault(throwable: Throwable): Boolean

Returns true only when the exception comes from an HTTP 5XX. Used as the default for the Retry.retryWhen lambda.

Sources

Link copied to clipboard