Exception: Sidekiq::Retries::Retry
- Inherits:
-
RetryError
- Object
- StandardError
- RetryError
- Sidekiq::Retries::Retry
- Defined in:
- lib/sidekiq/retries/errors.rb
Instance Attribute Summary collapse
-
#max_retries ⇒ Object
Returns the value of attribute max_retries.
Attributes inherited from RetryError
Instance Method Summary collapse
-
#initialize(cause, max_retries = nil, msg = nil) ⇒ Retry
constructor
A new instance of Retry.
Constructor Details
#initialize(cause, max_retries = nil, msg = nil) ⇒ Retry
Returns a new instance of Retry.
15 16 17 18 |
# File 'lib/sidekiq/retries/errors.rb', line 15 def initialize(cause, max_retries=nil, msg=nil) super(cause, msg) self.max_retries = max_retries end |
Instance Attribute Details
#max_retries ⇒ Object
Returns the value of attribute max_retries.
13 14 15 |
# File 'lib/sidekiq/retries/errors.rb', line 13 def max_retries @max_retries end |