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

     1  package errcore
     2  
     3  import (
     4  	"gitlab.com/evatix-go/core/constants"
     5  )
     6  
     7  func Combine(
     8  	genericMsg,
     9  	otherMsg,
    10  	reference string,
    11  ) string {
    12  	return genericMsg +
    13  		constants.Space +
    14  		otherMsg +
    15  		constants.Space +
    16  		ReferenceStart +
    17  		reference +
    18  		ReferenceEnd
    19  }