github.com/mook-as/cf-cli@v7.0.0-beta.28.0.20200120190804-b91c115fae48+incompatible/actor/actionerror/plugin_not_found_error.go (about)

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