Exception: GraphAgent::GraphRecursionError
- Inherits:
-
GraphError
- Object
- StandardError
- GraphError
- GraphAgent::GraphRecursionError
- Defined in:
- lib/graph_agent/errors.rb
Instance Method Summary collapse
-
#initialize(msg = nil) ⇒ GraphRecursionError
constructor
A new instance of GraphRecursionError.
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 |