github.com/mook-as/cf-cli@v7.0.0-beta.28.0.20200120190804-b91c115fae48+incompatible/actor/actionerror/route_destination_not_found_error.go (about)

     1  package actionerror
     2  
     3  import "fmt"
     4  
     5  // RouteDestinationNotFoundError is returned when a route destination cannot be found
     6  type RouteDestinationNotFoundError struct {
     7  	AppGUID     string
     8  	ProcessType string
     9  	RouteGUID   string
    10  }
    11  
    12  func (e RouteDestinationNotFoundError) Error() string {
    13  	return fmt.Sprintf(
    14  		"Destination with app guid '%s' and process type '%s' for route with guid '%s' not found.",
    15  		e.AppGUID,
    16  		e.ProcessType,
    17  		e.RouteGUID,
    18  	)
    19  }