- Companion:
- object
Value members
Concrete methods
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.
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.
Maps the error value of this cause to the specified constant value.
Maps the error value of this cause to the specified constant value.
Determines if this cause contains or is equal to the specified cause.
Determines if this cause contains or is equal to the specified cause.
Extracts a list of non-recoverable errors from the Cause
.
Extracts a list of non-recoverable errors from the 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.
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.
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.
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.
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.
Produces a list of all recoverable errors E
in the Cause
.
Produces a list of all recoverable errors E
in the 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.
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
.
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.
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
.
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.
Squashes a Cause
down to a single Throwable
, chosen to be the "most
important" Throwable
. In addition, appends a new element the to
Throwable
s "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
Throwable
s "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
.
Squashes a Cause
down to a single Throwable
, chosen to be the "most
important" Throwable
.
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.