class PgDice::InsufficientTablesError
Generic error for table counts
Public Class Methods
new(direction, table_name, expected, period, found_count)
click to toggle source
Calls superclass method
# 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