github.com/lukasheimann/cloudfoundrycli@v7.1.0+incompatible/command/translatableerror/manifest_file_not_found_in_directory_error.go (about) 1 package translatableerror 2 3 type ManifestFileNotFoundInDirectoryError struct { 4 PathToManifest string 5 } 6 7 func (ManifestFileNotFoundInDirectoryError) Error() string { 8 return "Could not find 'manifest.yml' file in {{.PathToManifest}}" 9 } 10 11 func (e ManifestFileNotFoundInDirectoryError) Translate(translate func(string, ...interface{}) string) string { 12 return translate(e.Error(), map[string]interface{}{ 13 "PathToManifest": e.PathToManifest, 14 }) 15 }