ValuableAsyncError<T> class

Representation of an error that occured during an async process

Inheritance
Annotations

Properties

error Object
Current error that occured
final
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
Stack trace provided with the error
final

Methods

map<Output>({required Output onData(ValuableAsyncData<T> data), required Output onError(ValuableAsyncError<T> error), required Output onNoData(ValuableAsyncNoData<T> noData)}) → Output
Method to provide a value, depending of current async value type
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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