// ymlErrorString formats yml as an error string.
ymlErrorString formats yml as an error string.
// ymlErrorString formats yml as an error string .
func ymlErrorString(yml interface{}) string {
	str, err := yaml.Marshal(yml)
	if err != nil {
		return "bad yml argument"
	}
	return fmt.Sprint("unrecognized yaml element ", string(str))
}
func ymlErrorString ( yml interface { } ) string { str , err := yaml . Marshal ( yml ) if err != nil { return " " } return fmt . Sprint ( " " , string ( str ) ) }
ymlErrorString formats yml as an error string.
ymlErrorString formats yml as an error string .