AggregateException constructor

AggregateException(
  1. Iterable<FreemeworkException> innerExceptions, [
  2. String? message
])

Implementation

factory AggregateException(Iterable<FreemeworkException> innerExceptions,
    [String? message]) {
  assert(innerExceptions.isNotEmpty);
  return AggregateException._internal(
      message ?? innerExceptions.first.message, innerExceptions);
}