WorkerLeaseLostError

Class

Signature

class WorkerLeaseLostError extends Error

core/src/errors.ts:125

Thrown when a worker lost its lease. Reported through workerError.

Constructor

Signature

new WorkerLeaseLostError(message, options): WorkerLeaseLostError;

core/src/errors.ts:129

Parameters

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

Overrides

Error.constructor

Properties

  • workerId
    string

    The worker that lost its lease.

Used in guides

esc

Search guides, integrations and every exported symbol.

↑ ↓ to navigate↵ to open