Packages

sealed abstract class Cause[+E] extends Product with Serializable

Self Type
Cause[E]
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Cause
  2. Serializable
  3. Product
  4. Equals
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Abstract Value Members

  1. abstract def canEqual(that: Any): Boolean
    Definition Classes
    Equals
  2. abstract def productArity: Int
    Definition Classes
    Product
  3. abstract def productElement(n: Int): Any
    Definition Classes
    Product

Concrete Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def &&[E1 >: E](that: Cause[E1]): Cause[E1]

    Returns a cause that fails for this cause and the specified cause, in parallel.

  4. final def ++[E1 >: E](that: Cause[E1]): Cause[E1]

    Returns a cause that fails for this cause and the specified cause, in sequence.

  5. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  6. final def as[E1](e: => E1): Cause[E1]

    Maps the error value of this cause to the specified constant value.

  7. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  8. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  9. final def contains[E1 >: E](that: Cause[E1]): Boolean

    Determines if this cause contains or is equal to the specified cause.

  10. final def defects: List[Throwable]

    Extracts a list of non-recoverable errors from the Cause.

  11. final def dieOption: Option[Throwable]

    Returns the Throwable associated with the first Die in this Cause if one exists.

  12. final def died: Boolean
  13. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  14. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  15. final def failed: Boolean
  16. def failureOption: Option[E]

    Returns the E associated with the first Fail in this Cause if one exists.

  17. final def failureOrCause: Either[E, Cause[Nothing]]

    Retrieve the first checked error on the Left if available, if there are no checked errors return the rest of the Cause that is known to contain only Die or Interrupt causes.

  18. def failureTraceOption: Option[(E, Option[ZTrace])]

    Returns the E associated with the first Fail in this Cause if one exists, along with its (optional) trace.

  19. final def failureTraceOrCause: Either[(E, Option[ZTrace]), Cause[Nothing]]

    Retrieve the first checked error and its trace on the Left if available, if there are no checked errors return the rest of the Cause that is known to contain only Die or Interrupt causes.

  20. final def failures: List[E]

    Produces a list of all recoverable errors E in the Cause.

  21. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  22. final def find[Z](f: PartialFunction[Cause[E], Z]): Option[Z]
  23. final def flatMap[E1](f: (E) => Cause[E1]): Cause[E1]
  24. final def flatten[E1](implicit ev: <:<[E, Cause[E1]]): Cause[E1]
  25. final def fold[Z](empty: => Z, failCase: (E) => Z, dieCase: (Throwable) => Z, interruptCase: (Id) => Z)(thenCase: (Z, Z) => Z, bothCase: (Z, Z) => Z, tracedCase: (Z, ZTrace) => Z): Z
  26. final def foldLeft[Z](z: Z)(f: PartialFunction[(Z, Cause[E]), Z]): Z
  27. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  28. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  29. final def interrupted: Boolean

    Determines if the Cause contains an interruption.

  30. final def interruptedOnly: Boolean

    Determines if the Cause contains only interruptions and not any Die or Fail causes.

  31. final def interruptors: Set[Id]

    Returns a set of interruptors, fibers that interrupted the fiber described by this Cause.

  32. final def isEmpty: Boolean

    Determines if the Cause is empty.

  33. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  34. final def keepDefects: Option[Cause[Nothing]]

    Remove all Fail and Interrupt nodes from this Cause, return only Die cause/finalizer defects.

  35. final def map[E1](f: (E) => E1): Cause[E1]
  36. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  37. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  38. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  39. final def prettyPrint: String

    Returns a String with the cause pretty-printed.

  40. def productElementName(n: Int): String
    Definition Classes
    Product
  41. def productElementNames: Iterator[String]
    Definition Classes
    Product
  42. def productIterator: Iterator[Any]
    Definition Classes
    Product
  43. def productPrefix: String
    Definition Classes
    Product
  44. final def squash(implicit ev: <:<[E, Throwable]): Throwable

    Squashes a Cause down to a single Throwable, chosen to be the "most important" Throwable.

  45. final def squashTrace(implicit ev: <:<[E, Throwable]): Throwable

    Squashes a Cause down to a single Throwable, chosen to be the "most important" Throwable.

    Squashes a Cause down to a single Throwable, chosen to be the "most important" Throwable. In addition, appends a new element to the suppressed exceptions of the Throwable, with this Cause "pretty printed" (in stackless mode) as the message.

  46. final def squashTraceWith(f: (E) => Throwable): Throwable

    Squashes a Cause down to a single Throwable, chosen to be the "most important" Throwable.

    Squashes a Cause down to a single Throwable, chosen to be the "most important" Throwable. In addition, appends a new element the to Throwables "caused by" chain, with this Cause "pretty printed" (in stackless mode) as the message.

  47. final def squashWith(f: (E) => Throwable): Throwable

    Squashes a Cause down to a single Throwable, chosen to be the "most important" Throwable.

  48. final def stripFailures: Cause[Nothing]

    Discards all typed failures kept on this Cause.

  49. final def stripSomeDefects(pf: PartialFunction[Throwable, Any]): Option[Cause[E]]

    Remove all Die causes that the specified partial function is defined at, returning Some with the remaining causes or None if there are no remaining causes.

  50. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  51. def toString(): String
    Definition Classes
    AnyRef → Any
  52. final def traces: List[ZTrace]

    Grabs a list of execution traces from the cause.

  53. final def untraced: Cause[E]

    Returns a Cause that has been stripped of all tracing information.

  54. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  55. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  56. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped