SafeEffectOps

org.atnos.eff.syntax.safe.SafeEffectOps
implicit class SafeEffectOps[R, A](e: Eff[R, A])

Attributes

Source:
safe.scala
Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Concise view

Value members

Concrete methods

def `finally`(last: Eff[R, Unit])(implicit m: MemberInOut[Safe, R]): Eff[R, A]

Attributes

Source:
safe.scala
def attempt(implicit m: MemberInOut[Safe, R]): Eff[R, Either[Throwable, A]]

Attributes

Source:
safe.scala
def catchThrowable[B](pure: A => B, onThrowable: Throwable => Eff[R, B])(implicit m: MemberInOut[Safe, R]): Eff[R, B]

Attributes

Source:
safe.scala
def execSafe[U](implicit m: Aux[Safe, R, U]): Eff[U, Either[Throwable, A]]

Attributes

Source:
safe.scala
def ignoreException[E <: Throwable : ClassTag](implicit evidence$1: ClassTag[E], m: MemberInOut[Safe, R]): Eff[R, Unit]

Attributes

Source:
safe.scala
def otherwise(onThrowable: Eff[R, A])(implicit m: MemberInOut[Safe, R]): Eff[R, A]

Attributes

Source:
safe.scala
def recoverThrowable[B](pure: A => B, onThrowable: PartialFunction[Throwable, Eff[R, B]])(implicit m: MemberInOut[Safe, R]): Eff[R, B]

Attributes

Source:
safe.scala
def runSafe[U](implicit m: Aux[Safe, R, U]): Eff[U, (Either[Throwable, A], List[Throwable])]

Attributes

Source:
safe.scala
def thenFinally(last: Eff[R, Unit])(implicit m: MemberInOut[Safe, R]): Eff[R, A]

Attributes

Source:
safe.scala
def whenFailed(onThrowable: Throwable => Eff[R, A])(implicit m: MemberInOut[Safe, R]): Eff[R, A]

Attributes

Source:
safe.scala
def whenThrowable(onThrowable: PartialFunction[Throwable, Eff[R, A]])(implicit m: MemberInOut[Safe, R]): Eff[R, A]

Attributes

Source:
safe.scala