github.com/mook-as/cf-cli@v7.0.0-beta.28.0.20200120190804-b91c115fae48+incompatible/actor/actionerror/getting_plugin_repository_error.go (about) 1 package actionerror 2 3 import "fmt" 4 5 // GettingPluginRepositoryError is returned when there's an error 6 // accessing the plugin repository. 7 type GettingPluginRepositoryError struct { 8 Name string 9 Message string 10 } 11 12 func (e GettingPluginRepositoryError) Error() string { 13 return fmt.Sprintf("Could not get plugin repository '%s'\n%s", e.Name, e.Message) 14 }