WorkerLeaseLostError
ClassSignature
class WorkerLeaseLostError extends ErrorThrown when a worker lost its lease. Reported through workerError.
Constructor
Signature
new WorkerLeaseLostError(message, options): WorkerLeaseLostError;Parameters
- message
string - options
object - options.cause?
unknown - options.workerId
string
Overrides
Error.constructor
Properties
- workerId
stringThe worker that lost its lease.