github.com/cloudfoundry/cli@v7.1.0+incompatible/actor/actionerror/plugin_not_found_in_repository_error.go (about)

     1  package actionerror
     2  
     3  import "fmt"
     4  
     5  // PluginNotFoundInRepositoryError is an error returned when a plugin is not
     6  // found.
     7  type PluginNotFoundInRepositoryError struct {
     8  	PluginName     string
     9  	RepositoryName string
    10  }
    11  
    12  // Error outputs the plugin not found in repository error message.
    13  func (e PluginNotFoundInRepositoryError) Error() string {
    14  	return fmt.Sprintf("Plugin %s not found in repository %s", e.PluginName, e.RepositoryName)
    15  }