Exception: Tabledata::InvalidColumnCount

Inherits:
ArgumentError
  • Object
show all
Includes:
Exception
Defined in:
lib/tabledata/exceptions.rb

Instance Method Summary collapse

Constructor Details

#initialize(row_num, expected, actual) ⇒ InvalidColumnCount

Returns a new instance of InvalidColumnCount


28
29
30
# File 'lib/tabledata/exceptions.rb', line 28

def initialize(row_num, expected, actual)
  super("Invalid column count in row #{row_num} (#{expected} expected, but has #{actual})")
end