Interrupt

final case class Interrupt(fiberId: FiberId, trace: StackTrace) extends Cause[Nothing]
class Cause[Nothing]
trait Product
trait Equals
class Object
trait Matchable
class Any

Value members

Inherited methods

final def &&[E1](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.

Inherited from:
Cause
final def ++[E1](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.

Inherited from:
Cause
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.

Inherited from:
Cause
final def contains[E1](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.

Inherited from:
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.

Inherited from:
Cause

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.

Inherited from:
Cause
override def equals(that: Any): Boolean
Definition Classes
Cause -> Equals -> Any
Inherited from:
Cause
def failureOption: Option[Nothing]

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.

Inherited from:
Cause
final def failureOrCause: Either[Nothing, 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.

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.

Inherited from:
Cause

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.

Inherited from:
Cause
final def failureTraceOrCause: Either[(Nothing, StackTrace), 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.

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.

Inherited from:
Cause
final def failures: List[Nothing]

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

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

Inherited from:
Cause
final def filter(p: Cause[Nothing] => Boolean): Cause[Nothing]

Filters the specified causes out of this cause.

Filters the specified causes out of this cause.

Inherited from:
Cause
final def find[Z](f: PartialFunction[Cause[Nothing], Z]): Option[Z]

Finds something and extracts some details from it.

Finds something and extracts some details from it.

Inherited from:
Cause
final def flatMap[E2](f: Nothing => Cause[E2]): Cause[E2]

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.

Inherited from:
Cause
final def flatten[E1](implicit ev: Nothing <:< Cause[E1]): Cause[E1]

Flattens a nested cause.

Flattens a nested cause.

Inherited from:
Cause
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
Inherited from:
Cause
final def foldContext[C, E1, Z](context: C)(folder: Folder[C, E1, Z]): Z

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

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

Inherited from:
Cause
final def foldLeft[Z](z: Z)(f: PartialFunction[(Z, Cause[Nothing]), Z]): Z

Folds over the cause to statefully compute a value.

Folds over the cause to statefully compute a value.

Inherited from:
Cause
override def hashCode: Int
Definition Classes
Cause -> Any
Inherited from:
Cause
Inherited from:
Cause

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.

Inherited from:
Cause
final def isDie: Boolean
Inherited from:
Cause
final def isEmpty: Boolean

Determines if the Cause is empty.

Determines if the Cause is empty.

Inherited from:
Cause
final def isFailure: Boolean
Inherited from:
Cause

Determines if the Cause contains an interruption.

Determines if the Cause contains an interruption.

Inherited from:
Cause

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.

Inherited from:
Cause
final def isTraced: Boolean

Determines if the Cause is traced.

Determines if the Cause is traced.

Inherited from:
Cause
final def keepDefects: Option[Cause[Nothing]]

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.

Inherited from:
Cause
def linearize[E1]: Set[Cause[E1]]

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.

Inherited from:
Cause
final def map[E1](f: Nothing => E1): Cause[E1]

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

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

Inherited from:
Cause
final def mapTrace(f: StackTrace => StackTrace): Cause[Nothing]

Transforms the traces in this cause with the specified function.

Transforms the traces in this cause with the specified function.

Inherited from:
Cause
final def prettyPrint: String

Returns a String with the cause pretty-printed.

Returns a String with the cause pretty-printed.

Inherited from:
Cause
Inherited from:
Product
def size: Int
Inherited from:
Cause
final def squash(implicit ev: IsSubtypeOfError[Nothing, 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.

Inherited from:
Cause
final def squashTrace(implicit ev: IsSubtypeOfError[Nothing, Throwable]): 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.

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.

Inherited from:
Cause
final def squashTraceWith(f: Nothing => Throwable): 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.

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.

Inherited from:
Cause
final def squashWith(f: Nothing => 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.

Inherited from:
Cause
final def stripFailures: Cause[Nothing]

Discards all typed failures kept on this Cause.

Discards all typed failures kept on this Cause.

Inherited from:
Cause
final def stripSomeDefects(pf: PartialFunction[Throwable, Any]): Option[Cause[Nothing]]

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.

Inherited from:
Cause
final def traced(trace: StackTrace): Cause[Nothing]

Adds the specified execution trace to traces.

Adds the specified execution trace to traces.

Inherited from:
Cause
final def traces: List[StackTrace]

Grabs a list of execution traces from the cause.

Grabs a list of execution traces from the cause.

Inherited from:
Cause
final def unified: List[Unified]

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.

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.

Inherited from:
Cause
final def untraced: Cause[Nothing]

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

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

Inherited from:
Cause