Fx

trait Fx[F[*]] extends FxCtor[F] with CanCatch[F] with CanHandleError[F] with CanRecover[F]
Since

2021-11-03

Companion
object
trait CanRecover[F]
trait CanCatch[F]
trait FxCtor[F]
class Object
trait Matchable
class Any
class FutureFx

Value members

Inherited methods

@inline
final def catchNonFatal[A, B](fb: => F[B])(f: Throwable => A): F[Either[A, B]]
Inherited from
CanCatch
@inline
final def catchNonFatalEither[A, AA >: A, B](fab: => F[Either[A, B]])(f: Throwable => AA): F[Either[AA, B]]
Inherited from
CanCatch
def catchNonFatalThrowable[A](fa: => F[A]): F[Either[Throwable, A]]
Inherited from
CanCatch
def effectOf[A](a: => A): F[A]
Inherited from
FxCtor
def errorOf[A](throwable: Throwable): F[A]
Inherited from
FxCtor
def fromEither[A](either: Either[Throwable, A]): F[A]
Inherited from
FxCtor
def fromOption[A](option: Option[A])(orElse: => Throwable): F[A]
Inherited from
FxCtor
def fromTry[A](tryA: Try[A]): F[A]
Inherited from
FxCtor
@inline
final def handleEitherNonFatal[A, AA >: A, B, BB >: B](fab: => F[Either[A, B]])(handleError: Throwable => Either[AA, BB]): F[Either[AA, BB]]
Inherited from
CanHandleError
@inline
final def handleEitherNonFatalWith[A, AA >: A, B, BB >: B](fab: => F[Either[A, B]])(handleError: Throwable => F[Either[AA, BB]]): F[Either[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
def mapFa[A, B](fa: F[A])(f: A => B): F[B]
Inherited from
CanCatch
def pureOf[A](a: A): F[A]
Inherited from
FxCtor
def pureOrError[A](a: => A): F[A]
Inherited from
FxCtor
@inline
final def recoverEitherFromNonFatal[A, AA >: A, B, BB >: B](fab: => F[Either[A, B]])(handleError: PartialFunction[Throwable, Either[AA, BB]]): F[Either[AA, BB]]
Inherited from
CanRecover
@inline
final def recoverEitherFromNonFatalWith[A, AA >: A, B, BB >: B](fab: => F[Either[A, B]])(handleError: PartialFunction[Throwable, F[Either[AA, BB]]]): F[Either[AA, BB]]
Inherited from
CanRecover
def recoverFromNonFatal[A, AA >: A](fa: => F[A])(handleError: PartialFunction[Throwable, AA]): F[AA]
Inherited from
CanRecover
def recoverFromNonFatalWith[A, AA >: A](fa: => F[A])(handleError: PartialFunction[Throwable, F[AA]]): F[AA]
Inherited from
CanRecover
def unitOf: F[Unit]
Inherited from
FxCtor