SafeEffectOps

implicit class SafeEffectOps[R, A](e: Eff[R, A])
Source:
safe.scala
class Object
trait Matchable
class Any

Value members

Concrete methods

def `finally`(last: Eff[R, Unit])(implicit m: MemberInOut[Safe, R]): Eff[R, A]
Source:
safe.scala
def attempt(implicit m: MemberInOut[Safe, R]): Eff[R, Either[Throwable, A]]
Source:
safe.scala
def catchThrowable[B](pure: A => B, onThrowable: Throwable => Eff[R, B])(implicit m: MemberInOut[Safe, R]): Eff[R, B]
Source:
safe.scala
def execSafe[U](implicit m: Aux[Safe, R, U]): Eff[U, Either[Throwable, A]]
Source:
safe.scala
def ignoreException[E <: Throwable : ClassTag](implicit evidence$1: ClassTag[E], m: MemberInOut[Safe, R]): Eff[R, Unit]
Source:
safe.scala
def otherwise(onThrowable: Eff[R, A])(implicit m: MemberInOut[Safe, R]): Eff[R, A]
Source:
safe.scala
def recoverThrowable[B](pure: A => B, onThrowable: PartialFunction[Throwable, Eff[R, B]])(implicit m: MemberInOut[Safe, R]): Eff[R, B]
Source:
safe.scala
def runSafe[U](implicit m: Aux[Safe, R, U]): Eff[U, (Either[Throwable, A], List[Throwable])]
Source:
safe.scala
def thenFinally(last: Eff[R, Unit])(implicit m: MemberInOut[Safe, R]): Eff[R, A]
Source:
safe.scala
def whenFailed(onThrowable: Throwable => Eff[R, A])(implicit m: MemberInOut[Safe, R]): Eff[R, A]
Source:
safe.scala
def whenThrowable(onThrowable: PartialFunction[Throwable, Eff[R, A]])(implicit m: MemberInOut[Safe, R]): Eff[R, A]
Source:
safe.scala