Exception: NestedText::Errors::DumpCyclicReferencesDetectedError

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) ⇒ DumpCyclicReferencesDetectedError

Returns a new instance of DumpCyclicReferencesDetectedError.



219
220
221
# File 'lib/nestedtext/errors.rb', line 219

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