Error
turbolift.effects.Error
trait Error[E] extends ErrorEffect[E, E]
Attributes
- Graph
-
- Supertypes
Members list
Type members
Inherited classlikes
object handlers
Predefined handlers for this effect.
Predefined handlers for this effect.
Attributes
- Inherited from:
- ErrorEffect
- Supertypes
-
class Objecttrait Matchableclass Any
Inherited types
Value members
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
Attributes
- Inherited from:
- ErrorEffect
final override def catchAllEff[A, U <: this.type](body: Computation[A, U])(f: E => Computation[A, U]): Computation[A, U]
Attributes
- Definition Classes
- Inherited from:
- ErrorEffect
final def catchSome[A, U <: this.type](body: Computation[A, U])(f: PartialFunction[E, A]): Computation[A, U]
Attributes
- Inherited from:
- ErrorEffect
final def catchSomeEff[A, U <: this.type](body: Computation[A, U])(f: PartialFunction[E, Computation[A, U]]): Computation[A, U]
Attributes
- Inherited from:
- ErrorEffect
Attributes
- Inherited from:
- ErrorEffect
Attributes
- Inherited from:
- ErrorEffect
Attributes
- Inherited from:
- ErrorEffect
final inline def perform[A, U <: ThisEffect](inline f: (ErrorSignature[E, E] & 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
final def raise[K, V1](k: K, v: V1)(using ev: (K, V1) <:< E): Computation[Unit, ErrorEffect.this.type]
Attributes
- Inherited from:
- ErrorEffect
Attributes
- Definition Classes
- Inherited from:
- ErrorEffect
final def raises[K, V](k: K, v: V)(using ev: (K, V) <:< E): Computation[Unit, ErrorEffect.this.type]
Attributes
- Inherited from:
- ErrorEffect
Attributes
- Definition Classes
- Inherited from:
- ErrorEffect
final override def toEither[A, U <: this.type](body: Computation[A, U]): Computation[Either[E, A], U]
Attributes
- Definition Classes
- Inherited from:
- ErrorEffect
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