Exception: PgDice::InsufficientPastTablesError

Inherits:
InsufficientTablesError show all
Defined in:
lib/pgdice/error.rb

Overview

Error thrown when the count of past tables is less than the expected amount

Instance Method Summary collapse

Constructor Details

#initialize(table_name, expected, period, found_count) ⇒ InsufficientPastTablesError

Returns a new instance of InsufficientPastTablesError.



41
42
43
# File 'lib/pgdice/error.rb', line 41

def initialize(table_name, expected, period, found_count)
  super('past', table_name, expected, period, found_count)
end