class SidekiqUniqueJobs::InvalidWorker
Raised when a workers configuration is invalid
@author Mikael Henriksson <mikael@mhenrixon.com>
Public Class Methods
new(lock_config)
click to toggle source
Calls superclass method
# File lib/sidekiq_unique_jobs/exceptions.rb, line 61 def initialize(lock_config) super(<<~FAILURE_MESSAGE) Expected #{lock_config.worker} to have valid sidekiq options but found the following problems: #{lock_config.errors_as_string} FAILURE_MESSAGE end