github.com/cloudfoundry-community/cloudfoundry-cli@v6.44.1-0.20240130060226-cda5ed8e89a5+incompatible/util/manifestparser/invalid_yaml_error.go (about)

     1  package manifestparser
     2  
     3  import "fmt"
     4  
     5  type InvalidYAMLError struct {
     6  	Err error
     7  }
     8  
     9  func (e InvalidYAMLError) Error() string {
    10  	return fmt.Sprintf("The option --vars-file expects a valid YAML file. %s", e.Err)
    11  }