final case class Errored[F[_], E, A](e: E) extends Outcome[F, E, A] with Product with Serializable
- Source
- Outcome.scala
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- Errored
- Outcome
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Instance Constructors
- new Errored(e: E)
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- val e: E
- def embed(onCancel: F[A])(implicit F: MonadCancel[F, E]): F[A]
- Definition Classes
- Outcome
- def embedError(implicit F: MonadCancel[F, E], ev: <:<[Throwable, E]): F[A]
Allows the restoration to a normal development flow from an Outcome.
Allows the restoration to a normal development flow from an Outcome.
This can be useful for storing the state of a running computation and then waiters for that data can act and continue forward on that shared outcome. Cancelation is encoded as a
CancellationException
.- Definition Classes
- Outcome
- def embedNever(implicit F: GenSpawn[F, E]): F[A]
- Definition Classes
- Outcome
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- def fold[B](canceled: => B, errored: (E) => B, completed: (F[A]) => B): B
- Definition Classes
- Outcome
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def isCanceled: Boolean
- Definition Classes
- Outcome
- def isError: Boolean
- Definition Classes
- Outcome
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def isSuccess: Boolean
- Definition Classes
- Outcome
- def mapK[G[_]](f: ~>[F, G]): Outcome[G, E, A]
- Definition Classes
- Outcome
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()