EitherCreation

org.atnos.eff.EitherCreation
See theEitherCreation companion trait

Attributes

Companion
trait
Source
EitherCreation.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Type members

Inherited types

Attributes

Inherited from:
EitherCreation
Source
EitherCreation.scala

Attributes

Inherited from:
EitherCreation
Source
EitherCreation.scala

Attributes

Inherited from:
EitherCreation
Source
EitherCreation.scala

Value members

Inherited methods

def catchNonFatalThrowable[R, A](a: => A)(using MemberIn[ThrowableEither, R]): Eff[R, A]

create an Either effect from a value possibly throwing a Throwable

create an Either effect from a value possibly throwing a Throwable

Attributes

Inherited from:
EitherCreation
Source
EitherCreation.scala
def fromCatchNonFatal[R, E, A](a: => A)(onThrowable: Throwable => E)(using MemberIn[[_] =>> Either[E, _$8], R]): Eff[R, A]

create an Either effect from a value possibly throwing an exception

create an Either effect from a value possibly throwing an exception

Attributes

Inherited from:
EitherCreation
Source
EitherCreation.scala
def fromEither[R, E, A](Either: Either[E, A])(using MemberIn[[_] =>> Either[E, _$2], R]): Eff[R, A]

create an Either effect from a single Either value

create an Either effect from a single Either value

Attributes

Inherited from:
EitherCreation
Source
EitherCreation.scala
def left[R, E, A](e: E)(using MemberIn[[_] =>> Either[E, _$4], R]): Eff[R, A]

create a failed value

create a failed value

Attributes

Inherited from:
EitherCreation
Source
EitherCreation.scala
def optionEither[R, E, A](option: Option[A], e: => E)(using MemberIn[[_] =>> Either[E, _$1], R]): Eff[R, A]

create an Either effect from a single Option value

create an Either effect from a single Option value

Attributes

Inherited from:
EitherCreation
Source
EitherCreation.scala
def right[R, E, A](a: A)(using MemberIn[[_] =>> Either[E, _$6], R]): Eff[R, A]

create a correct value

create a correct value

Attributes

Inherited from:
EitherCreation
Source
EitherCreation.scala