Skip to content

@armada/sdk / index / ProverWorkerError

Class: ProverWorkerError ​

Defined in: src/errors.ts:186

The prover worker stopped before replying (SPEC §4.5): it crashed or failed to load, it was terminated to cancel another in-flight request, or the prover was closed. Unless the prover was closed, the next request starts a fresh worker, so the operation can be retried. Also the class for a worker reply that carried no SDK code (a typed error keeps its own class across the worker boundary).

Extends ​

Constructors ​

Constructor ​

new ProverWorkerError(message, options?): ProverWorkerError

Defined in: src/errors.ts:6

Parameters ​

message ​

string

options? ​
cause? ​

unknown

Returns ​

ProverWorkerError

Inherited from ​

ArmadaError.constructor

Properties ​

code ​

readonly code: "PROVER_WORKER" = 'PROVER_WORKER'

Defined in: src/errors.ts:187

Overrides ​

ArmadaError.code