Exception: GraphAgent::GraphRecursionError

Inherits:
GraphError
  • Object
show all
Defined in:
lib/graph_agent/errors.rb

Instance Method Summary collapse

Constructor Details

#initialize(msg = nil) ⇒ GraphRecursionError

Returns a new instance of GraphRecursionError.



7
8
9
10
# File 'lib/graph_agent/errors.rb', line 7

def initialize(msg = nil)
  super(msg || "Graph has exhausted the maximum number of steps. " \
               "To increase the limit, set recursion_limit in config.")
end