github.com/randomtask1155/cli@v6.41.1-0.20181227003417-a98eed78cbde+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 }