Exception: BreezyTemplate::LeafTraversalError
- Inherits:
-
StandardError
- Object
- StandardError
- BreezyTemplate::LeafTraversalError
- Defined in:
- lib/breezy_template/errors.rb
Class Method Summary collapse
Class Method Details
.build(key, value, options, search_path) ⇒ Object
33 34 35 36 |
# File 'lib/breezy_template/errors.rb', line 33 def self.build(key, value, , search_path) = "Attempted to traverse into node named #{key} but got a value. This may happen if you forgot to use nil as a first value if you're using a partial, e.g, json.foo nil, partial: 'footer'. Key: #{key} Value: #{value} Options: #{} Remaining search path: #{search_path}." new() end |