Exception: Hatchet::DurableTaskEvictedError

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

Overview

Raised inside a durable task thread when the eviction manager decides to evict that invocation (e.g. TTL expired, capacity pressure, worker shutdown).

Instance Method Summary collapse

Constructor Details

#initialize(message = "Durable task evicted") ⇒ DurableTaskEvictedError

Returns a new instance of DurableTaskEvictedError.

Parameters:

  • message (String) (defaults to: "Durable task evicted")


93
94
95
# File 'lib/hatchet/exceptions.rb', line 93

def initialize(message = "Durable task evicted")
  super
end