BackendInitException constructor
BackendInitException({
- required Iterable<
BackendInitAttemptFailure> attempts,
Implementation
BackendInitException({required Iterable<BackendInitAttemptFailure> attempts})
: attempts = List.unmodifiable(attempts) {
if (this.attempts.isEmpty) {
throw ArgumentError.value(
attempts,
'attempts',
'must contain at least one failed backend attempt',
);
}
}