Object

zio.Cause

Empty

Related Doc: package Cause

Permalink

object Empty extends Cause[Nothing] with Product with Serializable

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Empty
  2. Cause
  3. Serializable
  4. Serializable
  5. Product
  6. Equals
  7. AnyRef
  8. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

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 >: Nothing](that: Cause[E1]): Cause[E1]

    Permalink

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

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

    Definition Classes
    Cause
  4. final def ++[E1 >: Nothing](that: Cause[E1]): Cause[E1]

    Permalink

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

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

    Definition Classes
    Cause
  5. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  6. final def as[E1](e: ⇒ E1): Cause[E1]

    Permalink

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

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

    Definition Classes
    Cause
  7. final def asInstanceOf[T0]: T0

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  9. final def contains[E1 >: Nothing](that: Cause[E1]): Boolean

    Permalink

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

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

    Definition Classes
    Cause
  10. final def defects: List[Throwable]

    Permalink

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

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

    Definition Classes
    Cause
  11. final def dieOption: Option[Throwable]

    Permalink

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

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

    Definition Classes
    Cause
  12. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  13. def equals(that: Any): Boolean

    Permalink
    Definition Classes
    Cause → Equals → AnyRef → Any
  14. def failureOption: Option[Nothing]

    Permalink

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

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

    Definition Classes
    Cause
  15. final def failureOrCause: Either[Nothing, 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.

    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.

    Definition Classes
    Cause
  16. def failureTraceOption: Option[(Nothing, StackTrace)]

    Permalink

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

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

    Definition Classes
    Cause
  17. final def failureTraceOrCause: Either[(Nothing, StackTrace), Cause[Nothing]]

    Permalink

    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.

    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.

    Definition Classes
    Cause
  18. final def failures: List[Nothing]

    Permalink

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

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

    Definition Classes
    Cause
  19. final def filter(p: (Cause[Nothing]) ⇒ Boolean): Cause[Nothing]

    Permalink

    Filters the specified causes out of this cause.

    Filters the specified causes out of this cause.

    Definition Classes
    Cause
  20. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  21. final def find[Z](f: PartialFunction[Cause[Nothing], Z]): Option[Z]

    Permalink

    Finds something and extracts some details from it.

    Finds something and extracts some details from it.

    Definition Classes
    Cause
  22. final def flatMap[E2](f: (Nothing) ⇒ Cause[E2]): Cause[E2]

    Permalink

    Transforms each error value in this cause to a new cause with the specified function and then flattens the nested causes into a single cause.

    Transforms each error value in this cause to a new cause with the specified function and then flattens the nested causes into a single cause.

    Definition Classes
    Cause
  23. final def flatten[E1](implicit ev: <:<[Nothing, Cause[E1]]): Cause[E1]

    Permalink

    Flattens a nested cause.

    Flattens a nested cause.

    Definition Classes
    Cause
  24. final def fold[Z](empty0: ⇒ Z, failCase0: (Nothing, StackTrace) ⇒ Z, dieCase0: (Throwable, StackTrace) ⇒ Z, interruptCase0: (FiberId, StackTrace) ⇒ Z)(thenCase0: (Z, Z) ⇒ Z, bothCase0: (Z, Z) ⇒ Z, stacklessCase0: (Z, Boolean) ⇒ Z): Z

    Permalink
    Definition Classes
    Cause
  25. final def foldContext[C, E1 >: Nothing, Z](context: C)(folder: Folder[C, E1, Z]): Z

    Permalink

    Folds over the cases of this cause with the specified functions.

    Folds over the cases of this cause with the specified functions.

    Definition Classes
    Cause
  26. final def foldLeft[Z](z: Z)(f: PartialFunction[(Z, Cause[Nothing]), Z]): Z

    Permalink

    Folds over the cause to statefully compute a value.

    Folds over the cause to statefully compute a value.

    Definition Classes
    Cause
  27. final def getClass(): Class[_]

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

    Permalink
    Definition Classes
    Cause → AnyRef → Any
  29. final def interruptOption: Option[FiberId]

    Permalink
    Definition Classes
    Cause
  30. final def interruptors: Set[FiberId]

    Permalink

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

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

    Definition Classes
    Cause
  31. final def isDie: Boolean

    Permalink
    Definition Classes
    Cause
  32. final def isEmpty: Boolean

    Permalink

    Determines if the Cause is empty.

    Determines if the Cause is empty.

    Definition Classes
    Cause
  33. final def isFailure: Boolean

    Permalink
    Definition Classes
    Cause
  34. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  35. final def isInterrupted: Boolean

    Permalink

    Determines if the Cause contains an interruption.

    Determines if the Cause contains an interruption.

    Definition Classes
    Cause
  36. final def isInterruptedOnly: Boolean

    Permalink

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

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

    Definition Classes
    Cause
  37. final def isTraced: Boolean

    Permalink

    Determines if the Cause is traced.

    Determines if the Cause is traced.

    Definition Classes
    Cause
  38. final def keepDefects: Option[Cause[Nothing]]

    Permalink

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

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

    Definition Classes
    Cause
  39. def linearize[E1 >: Nothing]: Set[Cause[E1]]

    Permalink

    Linearizes this cause to a set of parallel causes where each parallel cause contains a linear sequence of failures.

    Linearizes this cause to a set of parallel causes where each parallel cause contains a linear sequence of failures.

    Definition Classes
    Cause
  40. final def map[E1](f: (Nothing) ⇒ E1): Cause[E1]

    Permalink

    Transforms the error type of this cause with the specified function.

    Transforms the error type of this cause with the specified function.

    Definition Classes
    Cause
  41. final def mapTrace(f: (StackTrace) ⇒ StackTrace): Cause[Nothing]

    Permalink

    Transforms the traces in this cause with the specified function.

    Transforms the traces in this cause with the specified function.

    Definition Classes
    Cause
  42. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  45. final def prettyPrint: String

    Permalink

    Returns a String with the cause pretty-printed.

    Returns a String with the cause pretty-printed.

    Definition Classes
    Cause
  46. def size: Int

    Permalink
    Definition Classes
    Cause
  47. final def squash(implicit ev: IsSubtypeOfError[Nothing, Throwable]): Throwable

    Permalink

    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.

    Definition Classes
    Cause
  48. final def squashTrace(implicit ev: IsSubtypeOfError[Nothing, Throwable]): Throwable

    Permalink

    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.

    Definition Classes
    Cause
  49. final def squashTraceWith(f: (Nothing) ⇒ Throwable): Throwable

    Permalink

    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.

    Definition Classes
    Cause
  50. final def squashWith(f: (Nothing) ⇒ Throwable): Throwable

    Permalink

    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.

    Definition Classes
    Cause
  51. final def stripFailures: Cause[Nothing]

    Permalink

    Discards all typed failures kept on this Cause.

    Discards all typed failures kept on this Cause.

    Definition Classes
    Cause
  52. final def stripSomeDefects(pf: PartialFunction[Throwable, Any]): Option[Cause[Nothing]]

    Permalink

    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.

    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.

    Definition Classes
    Cause
  53. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  54. def trace: StackTrace

    Permalink

    Grabs a complete, linearized trace for the cause.

    Grabs a complete, linearized trace for the cause. Note: This linearization may be misleading in the presence of parallel errors.

    Definition Classes
    Cause
  55. final def traced(trace: StackTrace): Cause[Nothing]

    Permalink

    Adds the specified execution trace to traces.

    Adds the specified execution trace to traces.

    Definition Classes
    Cause
  56. final def traces: List[StackTrace]

    Permalink

    Grabs a list of execution traces from the cause.

    Grabs a list of execution traces from the cause.

    Definition Classes
    Cause
  57. final def unified: List[Unified]

    Permalink

    Returns a homogenized list of failures for the cause.

    Returns a homogenized list of failures for the cause. This homogenization process throws away key information, but it is useful for interop with traditional stack traces.

    Definition Classes
    Cause
  58. final def untraced: Cause[Nothing]

    Permalink

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

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

    Definition Classes
    Cause
  59. final def wait(): Unit

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

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

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

Inherited from Cause[Nothing]

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped