ErrorEffect
turbolift.effects.ErrorEffect
trait ErrorEffect[E, E1] extends Effect[ErrorSignature[E, E1]], ErrorSignature[E, E1]
Attributes
- Graph
-
- Supertypes
- Known subtypes
Members list
Type members
Inherited types
Value members
Concrete methods
final override def catchAllEff[A, U <: this.type](body: Computation[A, U])(f: E => Computation[A, U]): Computation[A, U]
Attributes
- Definition Classes
final def catchSome[A, U <: this.type](body: Computation[A, U])(f: PartialFunction[E, A]): Computation[A, U]
final def catchSomeEff[A, U <: this.type](body: Computation[A, U])(f: PartialFunction[E, Computation[A, U]]): Computation[A, U]
Attributes
- Definition Classes
Attributes
- Definition Classes
final override def toEither[A, U <: this.type](body: Computation[A, U]): Computation[Either[E, A], U]
Attributes
- Definition Classes
Inherited methods
Combines with another Effect instance, for the purpose of sharing an Interpreter.
Combines with another Effect instance, for the purpose of sharing an Interpreter.
Attributes
- Inherited from:
- Effect
final inline def perform[A, U <: ThisEffect](inline f: (ErrorSignature[E, E1] & Signature { type ThisEffect = U; }) => Computation[A, U]): Computation[A, U]
Lifts an invocation of this Signature's method into the Computation monad.
Lifts an invocation of this Signature's method into the Computation monad.
Attributes
- Inherited from:
- CanPerform
Inherited fields
Object containing type definitions, to be used for implementing Interpreters for this effect.
Object containing type definitions, to be used for implementing Interpreters for this effect.
Attributes
- Inherited from:
- Effect
Exports
Inherited defined exports
Exported from EffectImpl
Attributes
- Inherited from:
- Effect
In this article