Exception: NestedText::Errors::DumpCyclicReferencesDetectedError

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

Instance Attribute Summary

Attributes inherited from DumpError

#culprit

Instance Method Summary collapse

Constructor Details

#initialize(culprit) ⇒ DumpCyclicReferencesDetectedError

Returns a new instance of DumpCyclicReferencesDetectedError.



215
216
217
# File 'lib/nestedtext/errors_internal.rb', line 215

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