ErrorSignature

turbolift.effects.ErrorSignature
trait ErrorSignature[E, E1] extends Signature

Signature of ErrorEffectExt.

Type parameters

E

Accumulated error

E1

Singular error added to the accumulator (commonly same as E)

Attributes

Graph
Supertypes
trait Signature
class Object
trait Matchable
class Any
Known subtypes
trait ErrorEffectExt[E, E1]
trait ErrorEffect[E]
trait ErrorEffectG[M, K, V]
trait ErrorEffectGK[M, K, F, V]
trait ErrorEffectK[F, E]

Members list

Type members

Inherited and Abstract types

type ThisEffect

Self-reference to the effect being described by this Signature.

Self-reference to the effect being described by this Signature.

Becomes an alias of this.type, once the signature is inherited from Effect.

Attributes

Inherited from:
Signature

Value members

Abstract methods

def catchToEither[A, U <: ThisEffect](body: Computation[A, U]): Computation[Either[E, A], U]
def raise(e: E1): Computation[Nothing, ThisEffect]
def raises(e: E): Computation[Nothing, ThisEffect]

Deprecated methods

final def toEither[A, U <: ThisEffect](body: Computation[A, U]): Computation[Either[E, A], U]

Attributes

Deprecated
true