FExceptionAggregate constructor

FExceptionAggregate(
  1. Iterable<FException> innerExceptions, [
  2. String? message
])

Implementation

factory FExceptionAggregate(final Iterable<FException> innerExceptions,
    [String? message]) {
  const defaultMessage = "One or more errors occurred.";
  return FExceptionAggregate._internal(
    message ?? defaultMessage,
    innerExceptions,
  );
}