Exception: PgDice::InsufficientPastTablesError
- Inherits:
-
InsufficientTablesError
- Object
- StandardError
- Error
- InsufficientTablesError
- PgDice::InsufficientPastTablesError
- 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
-
#initialize(table_name, expected, period, found_count) ⇒ InsufficientPastTablesError
constructor
A new instance of InsufficientPastTablesError.
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 |