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

     1  package actionerror
     2  
     3  import "fmt"
     4  
     5  // ApplicationAlreadyExistsError represents the error that occurs when the
     6  // application already exists.
     7  type ApplicationAlreadyExistsError struct {
     8  	Name string
     9  }
    10  
    11  func (e ApplicationAlreadyExistsError) Error() string {
    12  	return fmt.Sprintf("Application '%s' already exists.", e.Name)
    13  }