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.



26
27
28
# File 'lib/tangle/errors.rb', line 26

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