Exception: Kestrel::Client::Transactional::RetriesExceeded

Inherits:
StandardError
  • Object
show all
Defined in:
lib/kestrel/client/transactional.rb

Overview

Raised when a retry fails when max retries is exceeded

Instance Method Summary collapse

Constructor Details

#initialize(job) ⇒ RetriesExceeded

Returns a new instance of RetriesExceeded.



13
14
15
# File 'lib/kestrel/client/transactional.rb', line 13

def initialize(job)
  super "Max retries of #{job.retries} exceeded for item: #{job.job.inspect}"
end