presto-main/src/main/java/io/prestosql/execution/ExecutionFailureInfo.java/ExecutionFailureInfo/toFailureInfo
class ExecutionFailureInfo:    public FailureInfo toFailureInfo()
    {
        List<FailureInfo> suppressed = this.suppressed.stream()
                .map(ExecutionFailureInfo::toFailureInfo)
                .collect(toImmutableList());

        return new FailureInfo(type, message, cause == null ? null : cause.toFailureInfo(), suppressed, stack, errorLocation);
    }