presto-main/src/main/java/io/prestosql/util/Failures.java/Failures/toFailures
class Failures:    public static List<ExecutionFailureInfo> toFailures(Collection<? extends Throwable> failures)
    {
        return failures.stream()
                .map(Failures::toFailure)
                .collect(toImmutableList());
    }