InvalidWorkerIdError

Class

Signature

class InvalidWorkerIdError extends Error

core/src/errors.ts:23

Thrown when a worker ID fails the state adapter's validateWorkerId check.

Constructor

Signature

new InvalidWorkerIdError(message, options): InvalidWorkerIdError;

core/src/errors.ts:27

Parameters

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

Overrides

Error.constructor

Properties

  • id
    string

    The ID that failed validation.

Used in guides

esc

Search guides, integrations and every exported symbol.

↑ ↓ to navigate↵ to open