package metricshelper

import (
	

	
)

// RegisterCollectors registers the collectors with reg ignoring
// reregistration error and panics on any other error
func ( prometheus.Registerer,  ...prometheus.Collector) {
	for ,  := range  {
		 := .Register()
		if  != nil {
			if  := errors.As(, &prometheus.AlreadyRegisteredError{}); ! {
				panic()
			}
		}
	}
}