final case class Die(value: Throwable) extends Cause[Nothing] with Product with Serializable
- Alphabetic
- By Inheritance
- Die
- Cause
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new Die(value: Throwable)
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def &&[E1 >: Nothing](that: Cause[E1]): Cause[E1]
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
- final def ++[E1 >: Nothing](that: Cause[E1]): Cause[E1]
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
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def as[E1](e: => E1): Cause[E1]
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
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- final def contains[E1 >: Nothing](that: Cause[E1]): Boolean
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
- final def defects: List[Throwable]
Extracts a list of non-recoverable errors from the
Cause.Extracts a list of non-recoverable errors from the
Cause.- Definition Classes
- Cause
- final def dieOption: Option[Throwable]
Returns the
Throwableassociated with the firstDiein thisCauseif one exists.Returns the
Throwableassociated with the firstDiein thisCauseif one exists.- Definition Classes
- Cause
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(that: Any): Boolean
- Definition Classes
- Die → Equals → AnyRef → Any
- def failureOption: Option[Nothing]
Returns the
Eassociated with the firstFailin thisCauseif one exists.Returns the
Eassociated with the firstFailin thisCauseif one exists.- Definition Classes
- Cause
- final def failureOrCause: Either[Nothing, Cause[Nothing]]
Retrieve the first checked error on the
Leftif available, if there are no checked errors return the rest of theCausethat is known to contain onlyDieorInterruptcauses.Retrieve the first checked error on the
Leftif available, if there are no checked errors return the rest of theCausethat is known to contain onlyDieorInterruptcauses.- Definition Classes
- Cause
- def failureTraceOption: Option[(Nothing, Option[ZTrace])]
Returns the
Eassociated with the firstFailin thisCauseif one exists, along with its (optional) trace.Returns the
Eassociated with the firstFailin thisCauseif one exists, along with its (optional) trace.- Definition Classes
- Cause
- final def failureTraceOrCause: Either[(Nothing, Option[ZTrace]), Cause[Nothing]]
Retrieve the first checked error and its trace on the
Leftif available, if there are no checked errors return the rest of theCausethat is known to contain onlyDieorInterruptcauses.Retrieve the first checked error and its trace on the
Leftif available, if there are no checked errors return the rest of theCausethat is known to contain onlyDieorInterruptcauses.- Definition Classes
- Cause
- final def failures: List[Nothing]
Produces a list of all recoverable errors
Ein theCause.Produces a list of all recoverable errors
Ein theCause.- Definition Classes
- Cause
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def find[Z](f: PartialFunction[Cause[Nothing], Z]): Option[Z]
- Definition Classes
- Cause
- final def flatMap[E1](f: (Nothing) => Cause[E1]): Cause[E1]
- Definition Classes
- Cause
- final def flatten[E1](implicit ev: <:<[Nothing, Cause[E1]]): Cause[E1]
- Definition Classes
- Cause
- final def fold[Z](empty: => Z, failCase: (Nothing) => Z, dieCase: (Throwable) => Z, interruptCase: (FiberId) => Z)(thenCase: (Z, Z) => Z, bothCase: (Z, Z) => Z, tracedCase: (Z, ZTrace) => Z): Z
- Definition Classes
- Cause
- final def foldLeft[Z](z: Z)(f: PartialFunction[(Z, Cause[Nothing]), Z]): Z
- Definition Classes
- Cause
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def interruptors: Set[FiberId]
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
- final def isDie: Boolean
- Definition Classes
- Cause
- final def isEmpty: Boolean
Determines if the
Causeis empty.Determines if the
Causeis empty.- Definition Classes
- Cause
- final def isFailure: Boolean
- Definition Classes
- Cause
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def isInterrupted: Boolean
Determines if the
Causecontains an interruption.Determines if the
Causecontains an interruption.- Definition Classes
- Cause
- final def isInterruptedOnly: Boolean
Determines if the
Causecontains only interruptions and not anyDieorFailcauses.Determines if the
Causecontains only interruptions and not anyDieorFailcauses.- Definition Classes
- Cause
- final def keepDefects: Option[Cause[Nothing]]
Remove all
FailandInterruptnodes from thisCause, return onlyDiecause/finalizer defects.Remove all
FailandInterruptnodes from thisCause, return onlyDiecause/finalizer defects.- Definition Classes
- Cause
- final def map[E1](f: (Nothing) => E1): Cause[E1]
- Definition Classes
- Cause
- 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()
- final def prettyPrint: String
Returns a
Stringwith the cause pretty-printed.Returns a
Stringwith the cause pretty-printed.- Definition Classes
- Cause
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- final def squash(implicit ev: IsSubtypeOfError[Nothing, Throwable]): Throwable
Squashes a
Causedown to a singleThrowable, chosen to be the "most important"Throwable.Squashes a
Causedown to a singleThrowable, chosen to be the "most important"Throwable.- Definition Classes
- Cause
- final def squashTrace(implicit ev: IsSubtypeOfError[Nothing, Throwable]): Throwable
Squashes a
Causedown to a singleThrowable, chosen to be the "most important"Throwable.Squashes a
Causedown to a singleThrowable, chosen to be the "most important"Throwable. In addition, appends a new element to the suppressed exceptions of theThrowable, with thisCause"pretty printed" (in stackless mode) as the message.- Definition Classes
- Cause
- final def squashTraceWith(f: (Nothing) => Throwable): Throwable
Squashes a
Causedown to a singleThrowable, chosen to be the "most important"Throwable.Squashes a
Causedown to a singleThrowable, chosen to be the "most important"Throwable. In addition, appends a new element the toThrowables "caused by" chain, with thisCause"pretty printed" (in stackless mode) as the message.- Definition Classes
- Cause
- final def squashWith(f: (Nothing) => Throwable): Throwable
Squashes a
Causedown to a singleThrowable, chosen to be the "most important"Throwable.Squashes a
Causedown to a singleThrowable, chosen to be the "most important"Throwable.- Definition Classes
- Cause
- final def stripFailures: Cause[Nothing]
Discards all typed failures kept on this
Cause.Discards all typed failures kept on this
Cause.- Definition Classes
- Cause
- final def stripSomeDefects(pf: PartialFunction[Throwable, Any]): Option[Cause[Nothing]]
Remove all
Diecauses that the specified partial function is defined at, returningSomewith the remaining causes orNoneif there are no remaining causes.Remove all
Diecauses that the specified partial function is defined at, returningSomewith the remaining causes orNoneif there are no remaining causes.- Definition Classes
- Cause
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- final def traces: List[ZTrace]
Grabs a list of execution traces from the cause.
Grabs a list of execution traces from the cause.
- Definition Classes
- Cause
- final def untraced: Cause[Nothing]
Returns a
Causethat has been stripped of all tracing information.Returns a
Causethat has been stripped of all tracing information.- Definition Classes
- Cause
- val value: Throwable
- 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()
Deprecated Value Members
- final def died: Boolean
- Definition Classes
- Cause
- Annotations
- @deprecated
- Deprecated
(Since version 2.0.0) use isDie
- final def failed: Boolean
- Definition Classes
- Cause
- Annotations
- @deprecated
- Deprecated
(Since version 2.0.0) use isFailure
- final def interrupted: Boolean
Determines if the
Causecontains an interruption.Determines if the
Causecontains an interruption.- Definition Classes
- Cause
- Annotations
- @deprecated
- Deprecated
(Since version 2.0.0) use isInterrupted
- final def interruptedOnly: Boolean
Determines if the
Causecontains only interruptions and not anyDieorFailcauses.Determines if the
Causecontains only interruptions and not anyDieorFailcauses.- Definition Classes
- Cause
- Annotations
- @deprecated
- Deprecated
(Since version 2.0.0) use isInterruptedOnly