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

     1  package actionerror
     2  
     3  import "fmt"
     4  
     5  // InvalidRouteError is returned when a route is provided that isn't properly
     6  // formed URL.
     7  type InvalidRouteError struct {
     8  	Route string
     9  }
    10  
    11  func (err InvalidRouteError) Error() string {
    12  	return fmt.Sprintf("Route '%s' is not parsable by URI", err.Route)
    13  }