Trait/Object

zio

Cause

Related Docs: object Cause | package zio

Permalink

sealed trait Cause[+E] extends Product with Serializable

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

Abstract Value Members

  1. abstract def canEqual(that: Any): Boolean

    Permalink
    Definition Classes
    Equals
  2. abstract def productArity: Int

    Permalink
    Definition Classes
    Product
  3. abstract def productElement(n: Int): Any

    Permalink
    Definition Classes
    Product

Concrete Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def &&[E1 >: E](that: Cause[E1]): Cause[E1]

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

    Permalink
  5. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  6. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  7. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. final def defects: List[Throwable]

    Permalink
  9. final def dieOption: Option[Throwable]

    Permalink

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

  10. final def died: Boolean

    Permalink
  11. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  12. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  13. final def failed: Boolean

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

    Permalink

    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.

  15. final def failures[E1 >: E]: List[E1]

    Permalink
  16. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  17. final def flatMap[E1](f: (E) ⇒ Cause[E1]): Cause[E1]

    Permalink
  18. final def flatten[E1](implicit ev: <:<[E, Cause[E1]]): Cause[E1]

    Permalink
  19. final def fold[Z](failCase: (E) ⇒ Z, dieCase: (Throwable) ⇒ Z, interruptCase: ⇒ Z)(thenCase: (Z, Z) ⇒ Z, bothCase: (Z, Z) ⇒ Z, tracedCase: (Z, ZTrace) ⇒ Z): Z

    Permalink
  20. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  21. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  22. final def interrupted: Boolean

    Permalink
  23. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  24. final def map[E1](f: (E) ⇒ E1): Cause[E1]

    Permalink
  25. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  26. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  27. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  28. final def prettyPrint: String

    Permalink
  29. def productIterator: Iterator[Any]

    Permalink
    Definition Classes
    Product
  30. def productPrefix: String

    Permalink
    Definition Classes
    Product
  31. final def squash(implicit ev: <:<[E, Throwable]): Throwable

    Permalink

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

  32. final def squashWith(f: (E) ⇒ Throwable): Throwable

    Permalink

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

  33. final def stripFailures: Option[Cause[Nothing]]

    Permalink

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

  34. final def succeeded: Boolean

    Permalink
  35. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  36. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  37. final def traces: List[ZTrace]

    Permalink
  38. final def untraced: Cause[E]

    Permalink
  39. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  40. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  41. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped