github.com/ablease/cli@v6.37.1-0.20180613014814-3adbb7d7fb19+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 }