handlers

turbolift.effects.ErrorEffectExt.handlers
object handlers

Predefined handlers for this effect.

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type
handlers.type

Members list

Value members

Concrete methods

def all(using E: Accum[E, E1]): Handler[Identity, [_] =>> Either[E, _$8], this.type, Any]

Accumulate all errors (Applicative).

Accumulate all errors (Applicative).

Attributes

def allReduce(using E =:= E1)(plus: (E, E1) => E): Handler[Identity, [_] =>> Either[E, _$10], this.type, Any]

Lile all, but accumulate with given function instead of typeclass.

Lile all, but accumulate with given function instead of typeclass.

Attributes

def first(using E: One[E, E1]): Handler[Identity, [_] =>> Either[E, _$6], this.type, Any]

Short-circuit on the first error.

Short-circuit on the first error.

Attributes