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.



237
238
239
# File 'lib/nestedtext/errors_internal.rb', line 237

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