code: func (list ErrorList) ToAggregate() utilerrors.Aggregate {
  	errs := make([]error, len(list))
  	for i := range list {
  		errs[i] = list[i]
  	}
  	return utilerrors.NewAggregate(errs)
  }
docs: // ToAggregate converts the ErrorList into an errors.Aggregate.