Exception: Purview::Exceptions::RowsOutsideWindow

Inherits:
Base
  • Object
show all
Defined in:
lib/purview/exceptions/rows_outside_window.rb

Instance Method Summary collapse

Constructor Details

#initialize(table_name, count) ⇒ RowsOutsideWindow



4
5
6
7
# File 'lib/purview/exceptions/rows_outside_window.rb', line 4

def initialize(table_name, count)
  @table_name = table_name
  @count = count
end

Instance Method Details

#messageObject



9
10
11
# File 'lib/purview/exceptions/rows_outside_window.rb', line 9

def message
  "#{count} row(s) outside window for table: #{table_name}"
end