Exception: Tangle::MultiEdgeError

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

Overview

MultiEdgeError is raised when multiple edges between a single pair of vertices is disallowed.

Instance Method Summary collapse

Constructor Details

#initialize(reason = 'multiedges not allowed') ⇒ MultiEdgeError

Returns a new instance of MultiEdgeError.



17
18
19
# File 'lib/tangle/errors.rb', line 17

def initialize(reason = 'multiedges not allowed', *)
  super
end