Exception: Resque::Mcp::Adapter::FailureOutOfRangeError
- Inherits:
-
StandardError
- Object
- StandardError
- Resque::Mcp::Adapter::FailureOutOfRangeError
- Defined in:
- lib/resque/mcp/adapter.rb
Instance Method Summary collapse
-
#initialize(index, count) ⇒ FailureOutOfRangeError
constructor
A new instance of FailureOutOfRangeError.
Constructor Details
#initialize(index, count) ⇒ FailureOutOfRangeError
Returns a new instance of FailureOutOfRangeError.
15 16 17 18 |
# File 'lib/resque/mcp/adapter.rb', line 15 def initialize(index, count) super("No failure at index #{index}. Current failure count: #{count}" \ "#{" (valid indexes 0..#{count - 1})" if count > 0}.") end |