Exception: SidekiqRobustJob::UniquenessStrategy::UnknownStrategyError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/sidekiq_robust_job/uniqueness_strategy.rb

Instance Method Summary collapse

Constructor Details

#initialize(strategy) ⇒ UnknownStrategyError

Returns a new instance of UnknownStrategyError.



68
69
70
# File 'lib/sidekiq_robust_job/uniqueness_strategy.rb', line 68

def initialize(strategy)
  @strategy = strategy
end

Instance Method Details

#messageObject



72
73
74
# File 'lib/sidekiq_robust_job/uniqueness_strategy.rb', line 72

def message
  "unknown uniqueness strategy: #{strategy}"
end