throwIfFailed method
void
throwIfFailed()
Throw one aggregate exception when any required scenario failed.
Implementation
void throwIfFailed() {
final values = failures.toList(growable: false);
if (values.isNotEmpty) {
throw ResolverBackendContractException(
backendType: backendType,
failures: values,
);
}
}