Packages

final case class Errored[F[_], E, A](e: E) extends Outcome[F, E, A] with Product with Serializable

Source
Outcome.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Errored
  2. Outcome
  3. Serializable
  4. Product
  5. Equals
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new Errored(e: E)

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  6. val e: E
  7. def embed(onCancel: F[A])(implicit F: MonadCancel[F, E]): F[A]
    Definition Classes
    Outcome
  8. 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
  9. def embedNever(implicit F: GenSpawn[F, E]): F[A]
    Definition Classes
    Outcome
  10. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  11. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  12. def fold[B](canceled: => B, errored: (E) => B, completed: (F[A]) => B): B
    Definition Classes
    Outcome
  13. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  14. def isCanceled: Boolean
    Definition Classes
    Outcome
  15. def isError: Boolean
    Definition Classes
    Outcome
  16. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  17. def isSuccess: Boolean
    Definition Classes
    Outcome
  18. def mapK[G[_]](f: ~>[F, G]): Outcome[G, E, A]
    Definition Classes
    Outcome
  19. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  20. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  21. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  22. def productElementNames: Iterator[String]
    Definition Classes
    Product
  23. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  24. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  25. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  26. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

Inherited from Outcome[F, E, A]

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped