Cause<E> class
abstract
Represents the error channel of a ZIO.
A ZIO can fail with a Failure, a Defect or be Interrupted.
- Implementers
Constructors
- Cause.new()
-
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- stackTrace → StackTrace?
-
no setter
- stackTraceSkipFrames → int
-
final
Methods
-
lift<
E2> () → Cause< E2> -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
prettyStackTrace(
[String prefix = ""]) → String -
toString(
) → String -
A string representation of this object.
inherited
-
when<
B> ({required B failure(Failure< E> _), required B defect(Defect<E> _), required B interrupted(Interrupted<E> _)}) → B -
withTrace(
StackTrace stack) → Cause< E>
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited