EitherCreation

Companion:
object
Source:
EitherEffect.scala
class Object
trait Matchable
class Any
object EitherCreation.type
object EitherEffect.type
object all.type
object create.type
object either.type

Value members

Concrete methods

def catchNonFatalThrowable[R, A](a: => A)(implicit member: 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

Source:
EitherEffect.scala
def fromCatchNonFatal[R, E, A](a: => A)(onThrowable: Throwable => E)(implicit member: MemberIn[[_] =>> Either[E, _$7], 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

Source:
EitherEffect.scala
def fromEither[R, E, A](Either: Either[E, A])(implicit member: 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

Source:
EitherEffect.scala
def left[R, E, A](e: E)(implicit member: MemberIn[[_] =>> Either[E, _$3], R]): Eff[R, A]

create a failed value

create a failed value

Source:
EitherEffect.scala
def optionEither[R, E, A](option: Option[A], e: => E)(implicit member: 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

Source:
EitherEffect.scala
def right[R, E, A](a: A)(implicit member: MemberIn[[_] =>> Either[E, _$5], R]): Eff[R, A]

create a correct value

create a correct value

Source:
EitherEffect.scala