Exception: Tangle::CyclicError
- Inherits:
-
RuntimeError
- Object
- RuntimeError
- Tangle::CyclicError
- Defined in:
- lib/tangle/errors.rb
Overview
CyclicError is raised when an edge cycle is disallowed.
Instance Method Summary collapse
-
#initialize(reason = 'cycles not allowed') ⇒ CyclicError
constructor
A new instance of CyclicError.
Constructor Details
#initialize(reason = 'cycles not allowed') ⇒ CyclicError
Returns a new instance of CyclicError.
32 33 34 |
# File 'lib/tangle/errors.rb', line 32 def initialize(reason = 'cycles not allowed', *) super end |