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

     1  package actionerror
     2  
     3  import "fmt"
     4  
     5  type DuplicateServiceError struct {
     6  	Name string
     7  }
     8  
     9  func (e DuplicateServiceError) Error() string {
    10  	return fmt.Sprintf("Service '%s' is provided by multiple service brokers. Specify a broker by using the '-b' flag.", e.Name)
    11  }