Exception: Hatchet::NonRetryableError

Inherits:
Error
  • Object
show all
Defined in:
lib/hatchet/exceptions.rb

Overview

Raised when a task should not be retried

Instance Method Summary collapse

Constructor Details

#initialize(message = "This task should not be retried") ⇒ NonRetryableError

Returns a new instance of NonRetryableError.



8
9
10
# File 'lib/hatchet/exceptions.rb', line 8

def initialize(message = "This task should not be retried")
  super
end