Exception: Yoda::Store::Query::AncestorTree::CircularReferenceError
- Inherits:
-
StandardError
- Object
- StandardError
- Yoda::Store::Query::AncestorTree::CircularReferenceError
- Defined in:
- lib/yoda/store/query/ancestor_tree.rb
Instance Method Summary collapse
-
#initialize(circular_scope) ⇒ CircularReferenceError
constructor
A new instance of CircularReferenceError.
Constructor Details
#initialize(circular_scope) ⇒ CircularReferenceError
Returns a new instance of CircularReferenceError.
9 10 11 |
# File 'lib/yoda/store/query/ancestor_tree.rb', line 9 def initialize(circular_scope) super("#{circular_scope&.path} appears twice") end |