github.com/DaAlbrecht/cf-cli@v0.0.0-20231128151943-1fe19bb400b9/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  }