Exception: NestedText::Errors::DumpCyclicReferencesDetected

Inherits:
DumpError show all
Defined in:
lib/nestedtext/errors.rb

Instance Attribute Summary

Attributes inherited from DumpError

#culprit

Instance Method Summary collapse

Constructor Details

#initialize(culprit) ⇒ DumpCyclicReferencesDetected

Returns a new instance of DumpCyclicReferencesDetected.



221
222
223
# File 'lib/nestedtext/errors.rb', line 221

def initialize(culprit)
  super(culprit, "cyclic reference found: cannot be dumped.")
end