Operations

object Operations
class Object
trait Matchable
class Any

Value members

Concrete methods

def attempt[A](a: Operation[A]): Operation[Either[Throwable, A]]
def checkThat[A](a: => A, condition: Boolean, failureMessage: String): Operation[A]
def delayed[A](a: => A): Operation[A]
def exception[A](t: Throwable): Operation[A]
def fail[A](message: String): Operation[A]
def fromError[A](error: Error): Operation[A]
def log(m: String, doIt: Boolean): Operation[Unit]
def logThrowable[R : _console](t: Throwable, doIt: Boolean): Eff[R, Unit]
def logThrowable[R : _console](t: Throwable): Eff[R, Unit]
def ok[A](a: A): Operation[A]
def orElse[A](operation1: Operation[A], operation2: Operation[A]): Operation[A]
def protect[A](a: => A): Operation[A]
def unit: Operation[Unit]
def warn(m: String): Operation[Unit]
def whenFailed[A](operation: Operation[A], onError: Error => Operation[A]): Operation[A]