package eff
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- eff
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Type Members
- type /=[M[_], R] = MemberInOut[M, R]
- type <=[M[_], R] = Member[M, R]
- trait ErrorCreation[F] extends ErrorTypes[F]
-
trait
ErrorEffect[F] extends ErrorCreation[F] with ErrorInterpretation[F]
Effect for computation which can fail and return a Throwable, or just stop with a failure
Effect for computation which can fail and return a Throwable, or just stop with a failure
This effect is a mix of Eval and Either in the sense that every computation passed to this effect (with the ok method) is considered "impure" or "faulty" by default.
The type F is used to represent the failure type.
- trait ErrorInterpretation[F] extends ErrorCreation[F]
- trait ErrorTypes[F] extends AnyRef
- case class Evaluate[F, A](run: Either[Either[Throwable, F], Eval[A]]) extends Product with Serializable
- type |=[M[_], R] = MemberIn[M, R]
Value Members
-
object
ErrorEffect extends ErrorEffect[String]
Simple instantiation of the ErrorEffect trait with String as a Failure type
- object Evaluate extends Serializable