Exception: Tangle::LoopError

Inherits:
RuntimeError
  • Object
show all
Defined in:
lib/tangle/errors.rb

Overview

LoopError is raised when a looped edge is disallowed.

Instance Method Summary collapse

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