agent/api/errors/error_types.go
func NewMultiError(errs ...error) error {
	errors := make([]error, 0, len(errs))
	for _, err := range errs {
		if err != nil {
			errors = append(errors, err)
		}
	}
	return MultiErr{errors}
}
func NewMultiError(errs ...error) error {
	errors := make([]error, 0, len(errs))
	for _, err := range errs {
		if err != nil {
			errors = append(errors, err)
		}
	}
	return MultiErr{errors}
}
func NewMultiError ( errs ... error ) error { errors := make ( [ ] error , 0 , len ( errs ) ) for _ , err := range errs { if err != nil { errors = append ( errors , err ) } } return MultiErr { errors } }
// NewMultiError creates a new MultErr object
NewMultiError creates a new MultErr object