ParallelWaitError<V, E> constructor
- V values,
- E errors,
- {int? errorCount,
- AsyncError? defaultError}
Creates error with the provided values and errors.
If defaultError
is provided, its AsyncError.error is used in
the toString of this parallel error, and its AsyncError.stackTrace
is returned by stackTrace.
If errorCount
is provided, and it's greater than one,
the number is reported in the toString.
Implementation
ParallelWaitError(this.values, this.errors,
{int? errorCount, AsyncError? defaultError})
: _defaultError = defaultError,
_errorCount = errorCount;