ErrorAggregator class

Collects errors from parallel execution.

Constructors

ErrorAggregator()

Properties

errors → List<ExecutionError>
Get all collected errors.
no setter
hasErrors → bool
Check if there are any errors.
no setter
hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

add(String operationId, Object error, [StackTrace? stackTrace]) → void
Add an error.
clear() → void
Clear collected errors.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toAggregateError() → AggregateError?
Create an AggregateError if there are errors.
toString() → String
A string representation of this object.
inherited

Operators

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