Exception: Tangle::GraphError
- Inherits:
-
RuntimeError
- Object
- RuntimeError
- Tangle::GraphError
- Defined in:
- lib/tangle/errors.rb
Overview
GraphError is raised when graph elements in an operation belong to different graphs.
Instance Method Summary collapse
-
#initialize(reason = 'not in the same graph') ⇒ GraphError
constructor
A new instance of GraphError.
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 |