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

     1  package actionerror
     2  
     3  import "fmt"
     4  
     5  type RepositoryAlreadyExistsError struct {
     6  	Name string
     7  	URL  string
     8  }
     9  
    10  func (e RepositoryAlreadyExistsError) Error() string {
    11  	return fmt.Sprintf("%s already registered as %s.", e.URL, e.Name)
    12  }