MultiError class

Helper functions for working with errors.

The MultiError class combines multiple errors into one object, and the MultiError.wait function works like Future.wait except that it returns all the errors.

Inheritance

Constructors

MultiError(List errors)
Create a MultiError based on a list of errors.

Properties

errors List
The actual errors.
final
hashCode int
The hash code for this object.
read-onlyinherited
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited
stackTrace StackTrace
The stack trace at the point where this error was first thrown.
read-onlyinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toString() String
A string representation of this object.
override
wait<T>(Iterable<Future<T>> futures, {void cleanUp(T successResult)}) Future<List<Object>>
Waits for all futures to complete, like Future.wait.

Operators

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

Static Methods

waitUnordered<T>(Iterable<Future<T>> futures, {void cleanUp(T successResult)}) Future<List<Object>>
Waits for all futures to complete, like Future.wait.