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