catchCause<E2> method
Catch all defects that may occur on this ZIO. The result will be replaced by executing the ZIO resulting from the given function.
Implementation
ZIO<R, E2, A> catchCause<E2>(
ZIO<R, E2, A> Function(Cause<E> _) f,
) =>
_mapCauseFOr((ctx, _) => f(_).unsafeRun(ctx));