github.com/cloudfoundry/cli@v7.1.0+incompatible/actor/actionerror/route_bound_to_multiple_apps_error.go (about)

     1  package actionerror
     2  
     3  import "fmt"
     4  
     5  // RouteNotFoundError is returned when a route cannot be found
     6  type RouteBoundToMultipleAppsError struct {
     7  	AppName  string
     8  	RouteURL string
     9  }
    10  
    11  func (e RouteBoundToMultipleAppsError) Error() string {
    12  	return fmt.Sprintf("App '%s' was not deleted because route '%s' is mapped to more than one app.", e.AppName, e.RouteURL)
    13  }