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.
34 35 36 |
# File 'lib/tangle/errors.rb', line 34 def initialize(reason = 'cycles not allowed', *) super end |