cats-retry
cats-retry
API
retry
syntax
AllSyntax
RetrySyntax
RetryingErrorOps
RetryingOps
all
Fibonacci
PolicyDecision
PolicyDecision
DelayAndRetry
GiveUp
RetryDetails
RetryDetails
GivingUp
WillDelayAndRetry
RetryPolicies
RetryPolicy
RetryPolicy
RetryStatus
RetryStatus
Sleep
Sleep
implicits
cats-retry
/
retry
/
retry.syntax
/
RetryingErrorOps
RetryingErrorOps
retry.syntax.RetryingErrorOps
final
class
RetryingErrorOps
[
M
[
_
],
A
,
E
](
action
:
=>
M
[
A
])(
implicit
M
:
MonadError
[
M
,
E
])
Attributes
Graph
Reset zoom
Hide graph
Show graph
Supertypes
class
Object
trait
Matchable
class
Any
Members list
Clear all
Value members
Concrete methods
def
retryingOnAllErrors
(
policy
:
RetryPolicy
[
M
],
onError
: (
E
,
RetryDetails
)
=>
M
[
Unit
])(
implicit
S
:
Sleep
[
M
]):
M
[
A
]
def
retryingOnFailuresAndAllErrors
(
wasSuccessful
:
A
=>
M
[
Boolean
],
policy
:
RetryPolicy
[
M
],
onFailure
: (
A
,
RetryDetails
)
=>
M
[
Unit
],
onError
: (
E
,
RetryDetails
)
=>
M
[
Unit
])(
implicit
S
:
Sleep
[
M
]):
M
[
A
]
def
retryingOnFailuresAndSomeErrors
(
wasSuccessful
:
A
=>
M
[
Boolean
],
isWorthRetrying
:
E
=>
M
[
Boolean
],
policy
:
RetryPolicy
[
M
],
onFailure
: (
A
,
RetryDetails
)
=>
M
[
Unit
],
onError
: (
E
,
RetryDetails
)
=>
M
[
Unit
])(
implicit
S
:
Sleep
[
M
]):
M
[
A
]
def
retryingOnSomeErrors
(
isWorthRetrying
:
E
=>
M
[
Boolean
],
policy
:
RetryPolicy
[
M
],
onError
: (
E
,
RetryDetails
)
=>
M
[
Unit
])(
implicit
S
:
Sleep
[
M
]):
M
[
A
]
In this article
Attributes
Members list
Value members
Concrete methods