github.com/Thanhphan1147/cloudfoundry-cli@v7.1.0+incompatible/command/translatableerror/tcp_route_options_not_provided_error.go (about) 1 package translatableerror 2 3 type TCPRouteOptionsNotProvidedError struct { 4 } 5 6 func (e TCPRouteOptionsNotProvidedError) Error() string { 7 return "The route is invalid: For TCP routes you must specify a port or request a random one." 8 } 9 10 func (e TCPRouteOptionsNotProvidedError) Translate(translate func(string, ...interface{}) string) string { 11 return translate(e.Error(), nil) 12 }