JobAttemptReclaimedError

Class

Signature

class JobAttemptReclaimedError extends Error

core/src/errors.ts:98

Recorded as a job's lastAttemptError when a worker reclaims its attempt because the worker holding the attempt lost its lease, stopped, or no longer runs it.

Constructor

Signature

new JobAttemptReclaimedError(message, options): JobAttemptReclaimedError;

core/src/errors.ts:102

Parameters

  • message
    string
  • options
    object
  • options.cause?
    unknown
  • options.reclaimedBy
    string

Overrides

Error.constructor

Properties

  • reclaimedBy
    string

    The worker that reclaimed the attempt.

Used in guides

esc

Search guides, integrations and every exported symbol.

↑ ↓ to navigate↵ to open