class Flows::Flow::InvalidNodeRouteError
Raised when router has an impossible route.
Public Class Methods
new(node_name, route_destination)
click to toggle source
# 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
Public Instance Methods
message()
click to toggle source
# File lib/flows/flow/errors.rb, line 13 def message "Node `#{@node_name}` has a route to `#{@route_destination}`, but node `#{@route_destination}` is missing." end