Exception: Tangle::GraphError

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

Overview

GraphError is raised when graph elements in an operation belong to different graphs.

Instance Method Summary collapse

Constructor Details

#initialize(reason = 'not in the same graph') ⇒ GraphError

Returns a new instance of GraphError.



24
25
26
# File 'lib/tangle/errors.rb', line 24

def initialize(reason = 'not in the same graph', *)
  super
end