effectie.cats
package effectie.cats
Extensions
Extensions
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])