Then
Attributes
- Graph
-
- Supertypes
Members list
Value members
Inherited 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.
Attributes
- Inherited from:
- Cause
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.
Attributes
- Inherited from:
- Cause
Adds the specified annotations.
Grabs the annotations from the cause.
Maps the error value of this cause to the specified constant value.
Maps the error value of this cause to the specified constant value.
Attributes
- Inherited from:
- Cause
Determines if this cause contains or is equal to the specified cause.
Determines if this cause contains or is equal to the specified cause.
Attributes
- Inherited from:
- 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.
Attributes
- Inherited from:
- Cause
Compares the receiver object (this
) with the argument object (that
) for equivalence.
Compares the receiver object (this
) with the argument object (that
) for equivalence.
Any implementation of this method should be an equivalence relation:
- It is reflexive: for any instance
x
of typeAny
,x.equals(x)
should returntrue
. - It is symmetric: for any instances
x
andy
of typeAny
,x.equals(y)
should returntrue
if and only ify.equals(x)
returnstrue
. - It is transitive: for any instances
x
,y
, andz
of typeAny
ifx.equals(y)
returnstrue
andy.equals(z)
returnstrue
, thenx.equals(z)
should returntrue
.
If you override this method, you should verify that your implementation remains an equivalence relation. Additionally, when overriding this method it is usually necessary to override hashCode
to ensure that objects which are "equal" (o1.equals(o2)
returns true
) hash to the same scala.Int. (o1.hashCode.equals(o2.hashCode)
).
Value parameters
- that
-
the object to compare against this object for equality.
Attributes
- Returns
-
true
if the receiver object is equivalent to the argument;false
otherwise. - Definition Classes
- Inherited from:
- Cause
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.
Attributes
- Inherited from:
- Cause
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.
Attributes
- 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.
Attributes
- Inherited from:
- Cause
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.
Attributes
- Inherited from:
- Cause
Produces a list of all recoverable errors E
in the Cause
.
Filters the specified causes out of this cause.
Finds something and extracts some details from it.
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.
Attributes
- Inherited from:
- Cause
Flattens a nested cause.
Attributes
- Inherited from:
- Cause
Folds over the cases of this cause with the specified functions.
Folds over the cause to statefully compute a value.
Attributes
- Inherited from:
- Cause
Calculate a hash code value for the object.
Calculate a hash code value for the object.
The default hashing algorithm is platform dependent.
Note that it is allowed for two objects to have identical hash codes (o1.hashCode.equals(o2.hashCode)
) yet not be equal (o1.equals(o2)
returns false
). A degenerate implementation could always return 0
. However, it is required that if two objects are equal (o1.equals(o2)
returns true
) that they have identical hash codes (o1.hashCode.equals(o2.hashCode)
). Therefore, when overriding this method, be sure to verify that the behavior is consistent with the equals
method.
Attributes
Attributes
- 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
.
Attributes
- Inherited from:
- Cause
Determines if the Cause
is empty.
Determines if the Cause
contains an interruption.
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.
Attributes
- Inherited from:
- Cause
Determines if the Cause
is traced.
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.
Attributes
- Inherited from:
- Cause
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.
Attributes
- Inherited from:
- Cause
Transforms the error type of this cause with the specified function.
Transforms the error type of this cause with the specified function.
Attributes
- Inherited from:
- Cause
Transforms the annotations in this cause with the specified function.
Transforms the annotations in this cause with the specified function.
Attributes
- Inherited from:
- Cause
Transforms the spans in this cause with the specified function.
Transforms the traces in this cause with the specified function.
Returns a String
with the cause pretty-printed.
Attributes
- Inherited from:
- Product
Attributes
- Inherited from:
- Product
Adds the specified spans.
Grabs a complete, linearized list of log spans for the cause. Note: This linearization may be misleading in the presence of parallel errors.
Grabs a complete, linearized list of log spans for the cause. Note: This linearization may be misleading in the presence of parallel errors.
Attributes
- Inherited from:
- Cause
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
.
Attributes
- Inherited from:
- Cause
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.
Attributes
- Inherited from:
- Cause
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.
Attributes
- Inherited from:
- Cause
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
.
Attributes
- Inherited from:
- Cause
Discards all typed failures kept on this Cause
.
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.
Attributes
- Inherited from:
- Cause
Grabs a complete, linearized trace for the cause. Note: This linearization may be misleading in the presence of parallel errors.
Grabs a complete, linearized trace for the cause. Note: This linearization may be misleading in the presence of parallel errors.
Attributes
- Inherited from:
- Cause
Adds the specified execution trace to traces.
Grabs a list of execution traces from 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.
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.
Attributes
- Inherited from:
- Cause