Produces the “sentinel” Error subclass StopRetrying, for use as a return value from withRetries.
Error
StopRetrying
withRetries
The message to attach to the StopRetrying instance.
Optional
The previous cause (often another Error) that resulted in stopping retries.
Produces the “sentinel”
Error
subclassStopRetrying
, for use as a return value fromwithRetries
.