github.com/sleungcy-sap/cli@v7.1.0+incompatible/command/translatableerror/no_plugin_repositories_error.go (about) 1 package translatableerror 2 3 type NoPluginRepositoriesError struct{} 4 5 func (NoPluginRepositoriesError) Error() string { 6 return "No plugin repositories registered to search for plugin updates." 7 } 8 9 func (e NoPluginRepositoriesError) Translate(translate func(string, ...interface{}) string) string { 10 return translate(e.Error()) 11 }