error

effectie.syntax.error
See theerror companion trait
object error extends error

Attributes

Companion
trait
Graph
Supertypes
trait error
class Object
trait Matchable
class Any
Self type
error.type

Members list

Extensions

Inherited extensions

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

Attributes

Inherited from:
error
extension [F[*]](canHandleError: CanHandleError[F])
def handleEitherTNonFatal[A, AA >: A, B, BB >: B](efab: => EitherT[F, A, B])(handleError: Throwable => Either[AA, BB]): EitherT[F, AA, BB]

Attributes

Inherited from:
error
def handleEitherTNonFatalWith[A, AA >: A, B, BB >: B](efab: => EitherT[F, A, B])(handleError: Throwable => F[Either[AA, BB]]): EitherT[F, AA, BB]

Attributes

Inherited from:
error
extension [F[*]](canRecover: CanRecover[F])
final def recoverEitherTFromNonFatal[A, AA >: A, B, BB >: B](efab: => EitherT[F, A, B])(handleError: PartialFunction[Throwable, Either[AA, BB]]): EitherT[F, AA, BB]

Attributes

Inherited from:
error
final def recoverEitherTFromNonFatalWith[A, AA >: A, B, BB >: B](efab: => EitherT[F, A, B])(handleError: PartialFunction[Throwable, F[Either[AA, BB]]]): EitherT[F, AA, BB]

Attributes

Inherited from:
error
extension [F[*], A, B](efab: => EitherT[F, A, B])
def catchNonFatalEitherT[AA >: A](f: PartialFunction[Throwable, AA])(using canCatch: CanCatch[F]): EitherT[F, AA, B]

Attributes

Inherited from:
error
def handleEitherTNonFatal[AA >: A, BB >: B](handleError: Throwable => Either[AA, BB])(using canHandleError: CanHandleError[F]): EitherT[F, AA, BB]

Attributes

Inherited from:
error
def handleEitherTNonFatalWith[AA >: A, BB >: B](handleError: Throwable => F[Either[AA, BB]])(using canHandleError: CanHandleError[F]): EitherT[F, AA, BB]

Attributes

Inherited from:
error
def recoverEitherTFromNonFatal[AA >: A, BB >: B](handleError: PartialFunction[Throwable, Either[AA, BB]])(using canRecover: CanRecover[F]): EitherT[F, AA, BB]

Attributes

Inherited from:
error
def recoverEitherTFromNonFatalWith[AA >: A, BB >: B](handleError: PartialFunction[Throwable, F[Either[AA, BB]]])(using canRecover: CanRecover[F]): EitherT[F, AA, BB]

Attributes

Inherited from:
error
def rethrowTIfLeft[AA >: A](using ev: AA <:< Throwable, fxCtor: FxCtor[F], M: FlatMap[F]): F[B]

Attributes

Inherited from:
error
extension [F[*], A, B](fab: => F[Either[A, B]])
def catchNonFatalEither[AA >: A](f: PartialFunction[Throwable, AA])(using canCatch: CanCatch[F]): F[Either[AA, B]]

Attributes

Inherited from:
error
def handleEitherNonFatal[AA >: A, BB >: B](handleError: Throwable => Either[AA, BB])(using canHandleError: CanHandleError[F]): F[Either[AA, BB]]

Attributes

Inherited from:
error
def handleEitherNonFatalWith[AA >: A, BB >: B](handleError: Throwable => F[Either[AA, BB]])(using canHandleError: CanHandleError[F]): F[Either[AA, BB]]

Attributes

Inherited from:
error
def recoverEitherFromNonFatal[AA >: A, BB >: B](handleError: PartialFunction[Throwable, Either[AA, BB]])(using canRecover: CanRecover[F]): F[Either[AA, BB]]

Attributes

Inherited from:
error
def recoverEitherFromNonFatalWith[AA >: A, BB >: B](handleError: PartialFunction[Throwable, F[Either[AA, BB]]])(using canRecover: CanRecover[F]): F[Either[AA, BB]]

Attributes

Inherited from:
error
def rethrowIfLeft[AA >: A](using ev: AA <:< Throwable, fxCtor: FxCtor[F], M: FlatMap[F]): F[B]

Attributes

Inherited from:
error
extension [F[*], B](fb: => F[B])
def catchNonFatal[A](f: PartialFunction[Throwable, A])(using canCatch: CanCatch[F]): F[Either[A, B]]

Attributes

Inherited from:
error
def catchNonFatalThrowable(using canCatch: CanCatch[F]): F[Either[Throwable, B]]

Attributes

Inherited from:
error
def handleNonFatal[BB >: B](handleError: Throwable => BB)(using canHandleError: CanHandleError[F]): F[BB]

Attributes

Inherited from:
error
def handleNonFatalWith[BB >: B](handleError: Throwable => F[BB])(using canHandleError: CanHandleError[F]): F[BB]

Attributes

Inherited from:
error
def recoverFromNonFatal[BB >: B](handleError: PartialFunction[Throwable, BB])(using canRecover: CanRecover[F]): F[BB]

Attributes

Inherited from:
error
def recoverFromNonFatalWith[BB >: B](handleError: PartialFunction[Throwable, F[BB]])(using canRecover: CanRecover[F]): F[BB]

Attributes

Inherited from:
error
extension [F[*]](fx: Fx[F])
def catchNonFatalEitherT[A, AA >: A, B](fab: => EitherT[F, A, B])(f: PartialFunction[Throwable, AA]): EitherT[F, AA, B]

Attributes

Inherited from:
error