func (result ErrorResults) Combine() error {
	var errorStrings []string
	for _, r := range result.Results {
		if r.Error != nil {
			errorStrings = append(errorStrings, r.Error.Error())
		}
	}
	if errorStrings != nil {
		return errors.New(strings.Join(errorStrings, "\n"))
	}
	return nil
}
// Combine returns one error from the result which is an accumulation of the
// errors. If there are no errors in the result, the return value is nil.
// Otherwise the error values are combined with new-line characters.
Combine returns one error from the result which is an accumulation of the
errors. If there are no errors in the result, the return value is nil.
Otherwise the error values are combined with new-line characters.
// Combine returns one error from the result which is an accumulation of the // errors . If there are no errors in the result the return value is nil . // Otherwise the error values are combined with new - line characters .
func (result ErrorResults) Combine() error {
	var errorStrings []string
	for _, r := range result.Results {
		if r.Error != nil {
			errorStrings = append(errorStrings, r.Error.Error())
		}
	}
	if errorStrings != nil {
		return errors.New(strings.Join(errorStrings, "\n"))
	}
	return nil
}
func ( result ErrorResults ) Combine ( ) error { var errorStrings [ ] string for _ , r := range result . Results { if r . Error != nil { errorStrings = append ( errorStrings , r . Error . Error ( ) ) } } if errorStrings != nil { return errors . New ( strings . Join ( errorStrings , " \n " ) ) } return nil }
Combine returns one error from the result which is an accumulation of the
errors.
Combine returns one error from the result which is an accumulation of the errors .