Exception: GraphMatching::InvalidVertexNumbering

Inherits:
GraphMatchingError show all
Defined in:
lib/graph_matching/errors.rb

Overview

no-doc

Instance Method Summary collapse

Constructor Details

#initialize(msg = nil) ⇒ InvalidVertexNumbering

Returns a new instance of InvalidVertexNumbering.



9
10
11
12
13
14
15
# File 'lib/graph_matching/errors.rb', line 9

def initialize(msg = nil)
  msg ||= <<~EOS
    Expected vertexes to be consecutive positive integers \
    starting with zero
  EOS
  super(msg)
end