github.com/DaAlbrecht/cf-cli@v0.0.0-20231128151943-1fe19bb400b9/actor/actionerror/route_bound_to_multiple_apps_error.go (about) 1 package actionerror 2 3 import "fmt" 4 5 // RouteBoundToMultipleAppsError is returned when a route is mapped to more than one app 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 }