Retry

nl.vroste.rezilience.Retry
See theRetry companion object
trait Retry[-E]

Attributes

Companion
object
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
Retry[E]

Members list

Value members

Abstract methods

def apply[R, E1 <: E, A](f: ZIO[R, E1, A]): ZIO[R, E1, A]
def widen[E2](pf: PartialFunction[E2, E]): Retry[E2]

Transform this policy to apply to larger class of errors

Transform this policy to apply to larger class of errors

Only where the partial function is defined will the policy be applied, other errors are not retried

Attributes

Concrete methods

def toPolicy: Policy[E]