class Makara::Errors::InvalidShard

Attributes

role[R]
shard_id[R]

Public Class Methods

new(role, shard_id) click to toggle source
Calls superclass method
# File lib/makara/errors/invalid_shard.rb, line 7
def initialize(role, shard_id)
  @role = role
  @shard_id = shard_id
  super "[Makara] Invalid shard_id #{shard_id} for the #{role} pool"
end