github.com/franc20/ayesa_sap@v7.0.0-beta.28.0.20200124003224-302d4d52fa6c+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  }