func (m *MetricResults) OneError() error {
	for _, r := range m.Results {
		if err := r.Error; err != nil {
			return err
		}
	}
	return nil
}
// OneError returns the first error
OneError returns the first error
// OneError returns the first error
func (m *MetricResults) OneError() error {
	for _, r := range m.Results {
		if err := r.Error; err != nil {
			return err
		}
	}
	return nil
}
func ( m * MetricResults ) OneError ( ) error { for _ , r := range m . Results { if err := r . Error ; err != nil { return err } } return nil }
OneError returns the first error
OneError returns the first error