gitlab.com/evatix-go/core@v1.3.55/errcore/ManyErrorToSingleDirect.go (about)

     1  package errcore
     2  
     3  func ManyErrorToSingleDirect(errorItems ...error) error {
     4  	if errorItems == nil || len(errorItems) == 0 {
     5  		return nil
     6  	}
     7  
     8  	return ManyErrorToSingle(errorItems)
     9  }