gitlab.com/evatix-go/core@v1.3.55/errcore/MeaningfulMessageError.go (about) 1 package errcore 2 3 func MeaningfulMessageError( 4 rawErrType RawErrorType, 5 funcName string, 6 err error, 7 message string, 8 ) error { 9 if err == nil { 10 return nil 11 } 12 13 return rawErrType.Error( 14 funcName, 15 err.Error()+message) 16 }