shouldRetry

fun shouldRetry(exception: Throwable): Boolean

Determine if the given exception should trigger a retry.

Return

true if the operation should be retried

Parameters

exception

The exception that occurred