WorkerAlreadyLiveError

Class

Signature

class WorkerAlreadyLiveError extends Error

core/src/errors.ts:113

Thrown when a worker can't start because a live worker holds its id. Reported through workerError.

Constructor

Signature

new WorkerAlreadyLiveError(message, options): WorkerAlreadyLiveError;

core/src/errors.ts:117

Parameters

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

Overrides

Error.constructor

Properties

  • workerId
    string

    The worker id held by the live worker.

Used in guides

esc

Search guides, integrations and every exported symbol.

↑ ↓ to navigate↵ to open