effectie.cats

Type members

Classlikes

trait console
Companion
object
object console extends console
Companion
class

Extensions

Extensions

extension (canCatch: CanCatch[F])
def catchNonFatalEitherT[F[*]](fab: => EitherT[F, A, B])(f: Throwable => AA): EitherT[F, AA, B]
Since

2021-11-25

extension (canHandleError: CanHandleError[F])
def handleEitherTNonFatal[F[*]](efab: => EitherT[F, A, B])(handleError: Throwable => Either[AA, BB]): EitherT[F, AA, BB]
def handleEitherTNonFatalWith[F[*]](efab: => EitherT[F, A, B])(handleError: Throwable => F[Either[AA, BB]]): EitherT[F, AA, BB]
extension (canRecover: CanRecover[F])
final def recoverEitherTFromNonFatal[F[*]](efab: => EitherT[F, A, B])(handleError: PartialFunction[Throwable, Either[AA, BB]]): EitherT[F, AA, BB]
final def recoverEitherTFromNonFatalWith[F[*]](efab: => EitherT[F, A, B])(handleError: PartialFunction[Throwable, F[Either[AA, BB]]]): EitherT[F, AA, BB]
extension (fx: Fx[F])
def catchNonFatalEitherT[F[*]](fab: => EitherT[F, A, B])(f: Throwable => AA): EitherT[F, AA, B]