github.com/lukasheimann/cloudfoundrycli@v7.1.0+incompatible/command/translatableerror/empty_buildpacks_error.go (about)

     1  package translatableerror
     2  
     3  type EmptyBuildpacksError struct{}
     4  
     5  func (EmptyBuildpacksError) Error() string {
     6  	return "Buildpacks property cannot be an empty string."
     7  }
     8  
     9  func (e EmptyBuildpacksError) Translate(translate func(string, ...interface{}) string) string {
    10  	return translate(e.Error())
    11  }