Exception: PgDice::InsufficientTablesError
- Defined in:
- lib/pgdice/error.rb
Overview
Generic error for table counts
Direct Known Subclasses
Instance Method Summary collapse
-
#initialize(direction, table_name, expected, period, found_count) ⇒ InsufficientTablesError
constructor
A new instance of InsufficientTablesError.
Constructor Details
#initialize(direction, table_name, expected, period, found_count) ⇒ InsufficientTablesError
Returns a new instance of InsufficientTablesError.
26 27 28 29 |
# File 'lib/pgdice/error.rb', line 26 def initialize(direction, table_name, expected, period, found_count) super("Insufficient #{direction} tables exist for table: #{table_name}. "\ "Expected: #{expected} having period of: #{period} but found: #{found_count}") end |