Exception: Tangle::CyclicError

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

Overview

CyclicError is raised when an edge cycle is disallowed.

Instance Method Summary collapse

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