The success type of the recovery effect
The error type of the recovery effect
The error type(s) handled (caught) by this wrapper
Dependencies required by the recovery effect
Dependencies provided by the recovery effect
A WrapEffect that can be used in a pipe chain
The provided handler is called with the thrown cause whenever the
preceding effect fails. If the handler returns an Effect, that
effect is used as the recovery value. If it returns undefined, the
original error propagates unchanged.
catchSome is typically used inside pipe or Effect.pipe
to attach partial error-recovery logic to an effect chain.
Creates a WrapEffect that intercepts errors and optionally recovers.