Exception: Lich::Common::Settings::CircularReferenceError Private

Inherits:
StandardError
  • Object
show all
Defined in:
documented/common/settings.rb

Overview

This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.

Raised when a circular reference is detected while unwrapping proxies or copying settings.

This can occur when settings contain self-referential structures that would cause infinite recursion during serialization or proxy unwrapping.

Instance Method Summary collapse

Constructor Details

#initialize(msg = "Circular Reference Detected") ⇒ CircularReferenceError

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Initializes a new CircularReferenceError.

Parameters:

  • msg (String) (defaults to: "Circular Reference Detected") —

    the error message; defaults to "Circular Reference Detected"



61
62
63
# File 'documented/common/settings.rb', line 61

def initialize(msg = "Circular Reference Detected")
  super(msg)
end