ProcessError<T> class

The process failed with an error and optional stackTrace.

Inheritance
Annotations
  • @immutable

Constructors

ProcessError(Object error, {StackTrace? stackTrace})
The process failed with an error and optional stackTrace.
const

Properties

error Object
The error that caused the process to fail.
final
hashCode int
The hash code for this object.
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
stackTrace StackTrace?
The stack trace of the error, if available.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override
whenData<R>(R mapper(T value)) ProcessValue<R>
Tries to map this ProcessValue to another ProcessValue using the provided mapper function.
inherited
whenDataAsync<R>(FutureOr<R> mapper(T value)) Future<ProcessValue<R>>
Tries to map this ProcessValue to another ProcessValue using a an async mapper function.
inherited

Operators

operator ==(Object other) bool
The equality operator.
override