tapErrorCause<X> method
Like catchCause, but the result of the resulting ZIO is discarded.
Implementation
ZIO<R, E, A> tapErrorCause<X>(
ZIO<R, E, X> Function(Cause<E> _) f,
) =>
catchCause((e) => f(e).zipRight(ZIO.failCause(e)));