Exception: Curate::Indexer::Exceptions::CycleDetectionError
- Inherits:
-
RuntimeError
- Object
- RuntimeError
- RuntimeError
- Curate::Indexer::Exceptions::CycleDetectionError
- Defined in:
- lib/curate/indexer/exceptions.rb
Overview
Raised when we may have detected a cycle within the graph
Instance Attribute Summary collapse
-
#pid ⇒ Object
readonly
Returns the value of attribute pid.
Instance Method Summary collapse
-
#initialize(pid) ⇒ CycleDetectionError
constructor
A new instance of CycleDetectionError.
Constructor Details
#initialize(pid) ⇒ CycleDetectionError
Returns a new instance of CycleDetectionError.
9 10 11 12 |
# File 'lib/curate/indexer/exceptions.rb', line 9 def initialize(pid) @pid = pid super "Possible graph cycle discovered related to PID:#{pid}." end |
Instance Attribute Details
#pid ⇒ Object (readonly)
Returns the value of attribute pid.
8 9 10 |
# File 'lib/curate/indexer/exceptions.rb', line 8 def pid @pid end |