CanHandleError

trait CanHandleError[F[_]] extends CanHandleError[F]
Authors

Kevin Lee

Since

2020-08-17

Companion
object
trait CanHandleError[F]
class Object
trait Matchable
class Any

Type members

Types

type Xor[A, B] = Either[A, B]
type XorT[A, B] = EitherT[F, A, B]

Value members

Inherited methods

def handleEitherTNonFatal[A, AA >: A, B, BB >: B](efab: => XorT[A, B])(handleError: Throwable => Either[AA, BB]): XorT[AA, BB]
Inherited from
CanHandleError
def handleEitherTNonFatalWith[A, AA >: A, B, BB >: B](efab: => XorT[A, B])(handleError: Throwable => F[Either[AA, BB]]): XorT[AA, BB]
Inherited from
CanHandleError
def handleNonFatal[A, AA >: A](fa: => F[A])(handleError: Throwable => AA): F[AA]
Inherited from
CanHandleError
def handleNonFatalWith[A, AA >: A](fa: => F[A])(handleError: Throwable => F[AA]): F[AA]
Inherited from
CanHandleError