github.com/wanddynosios/cli/v8@v8.7.9-0.20240221182337-1a92e3a7017f/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  }