The success value type of the recovery effect
The error type of the recovery effect
The error type(s) that this wrapper catches (excluded from the upstream error channel)
Dependencies required by the recovery effect
Dependencies provided by the recovery effect
The success value type of the recovery effect
The error type of the recovery effect
The error type(s) that this wrapper catches (excluded from the upstream error channel)
Dependencies required by the recovery effect
Dependencies provided by the recovery effect
ReadonlypipeComposes this effect with one or more Pipeable operations into a single sequential effect.
One or more pipeable operations to apply after this effect
A new Effect representing the composed pipeline
This is a fluent convenience method equivalent to calling the standalone pipe function with this effect as the first argument. It accepts transform functions, error handlers, and dependency providers.
A specialized Effect subclass that carries error-handling metadata.
Remarks
WrapEffectextends Effect and adds a phantom type parameterCEthat tracks which error types this wrapper is capable of catching. It is produced by catchSome and catchTags and is consumed by pipe to remove the handled error types from the resulting effect's error channel.You should not instantiate
WrapEffectdirectly — use catchSome or catchTags to create instances.Example