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

     1  package actionerror
     2  
     3  import "fmt"
     4  
     5  // RouteAlreadyExistsError is returned when a route already exists
     6  type RouteAlreadyExistsError struct {
     7  	Route string
     8  }
     9  
    10  func (e RouteAlreadyExistsError) Error() string {
    11  	return fmt.Sprintf("Route %s already exists", e.Route)
    12  }