func FmtWentErrorMsg(
	name string,
	line, col int, stringValue,
	errorName, format string, args ...interface{},
) string {
	msgTemplate := fmt.Sprint(name, ":[line: ", line, ", col: ", col, "]: ", errorName)
	if stringValue != "" {
		msgTemplate += " at '" + stringValue + "'"
	}
	msgTemplate += ": " + format
	return fmt.Sprintf(msgTemplate, args...)
}
// FmtWentErrorMsg returns a general formatted error message for went.
FmtWentErrorMsg returns a general formatted error message for went.
// FmtWentErrorMsg returns a general formatted error message for went .
func FmtWentErrorMsg(
	name string,
	line, col int, stringValue,
	errorName, format string, args ...interface{},
) string {
	msgTemplate := fmt.Sprint(name, ":[line: ", line, ", col: ", col, "]: ", errorName)
	if stringValue != "" {
		msgTemplate += " at '" + stringValue + "'"
	}
	msgTemplate += ": " + format
	return fmt.Sprintf(msgTemplate, args...)
}
func FmtWentErrorMsg ( name string , line , col int , stringValue , errorName , format string , args ... interface { } , ) string { msgTemplate := fmt . Sprint ( name , " " , line , " " , col , " " , errorName ) if stringValue != " " { msgTemplate += " " + stringValue + " " } msgTemplate += " " + format return fmt . Sprintf ( msgTemplate , args ... ) }
FmtWentErrorMsg returns a general formatted error message for went.
FmtWentErrorMsg returns a general formatted error message for went .