Exception: Flows::Flow::InvalidNodeRouteError
- Defined in:
- lib/flows/flow/errors.rb
Overview
Raised when router has an impossible route.
Instance Method Summary collapse
-
#initialize(node_name, route_destination) ⇒ InvalidNodeRouteError
constructor
A new instance of InvalidNodeRouteError.
- #message ⇒ Object
Constructor Details
#initialize(node_name, route_destination) ⇒ InvalidNodeRouteError
Returns a new instance of InvalidNodeRouteError.
8 9 10 11 |
# File 'lib/flows/flow/errors.rb', line 8 def initialize(node_name, route_destination) @node_name = node_name.inspect @route_destination = route_destination.inspect end |
Instance Method Details
#message ⇒ Object
13 14 15 |
# File 'lib/flows/flow/errors.rb', line 13 def "Node `#{@node_name}` has a route to `#{@route_destination}`, but node `#{@route_destination}` is missing." end |