github.com/cloudfoundry-community/cloudfoundry-cli@v6.44.1-0.20240130060226-cda5ed8e89a5+incompatible/actor/actionerror/add_plugin_repository_error.go (about)

     1  package actionerror
     2  
     3  import "fmt"
     4  
     5  type AddPluginRepositoryError struct {
     6  	Name    string
     7  	URL     string
     8  	Message string
     9  }
    10  
    11  func (e AddPluginRepositoryError) Error() string {
    12  	return fmt.Sprintf("Could not add repository '%s' from %s: %s", e.Name, e.URL, e.Message)
    13  }