github.com/franc20/ayesa_sap@v7.0.0-beta.28.0.20200124003224-302d4d52fa6c+incompatible/actor/actionerror/multiple_buildpacks_found_error.go (about) 1 package actionerror 2 3 import ( 4 "fmt" 5 ) 6 7 // MultipleBuildpacksFoundError represents the scenario when the cloud 8 // controller returns multiple buildpacks when filtering by name. 9 type MultipleBuildpacksFoundError struct { 10 BuildpackName string 11 } 12 13 func (e MultipleBuildpacksFoundError) Error() string { 14 return fmt.Sprintf("Multiple buildpacks named %s found", e.BuildpackName) 15 }