Skip to content

@armada/sdk / index / ArtifactFetchError

Class: ArtifactFetchError ​

Defined in: src/errors.ts:109

A proving-artifact download (wasm/zkey/vkey) failed: a non-OK HTTP response (status), a network error, or a timeout (SPEC §4.5). A retry may succeed; ArtifactIntegrityError is the different case of bytes that arrived but don't match the manifest.

Extends ​

Constructors ​

Constructor ​

new ArtifactFetchError(message, options?): ArtifactFetchError

Defined in: src/errors.ts:112

Parameters ​

message ​

string

options? ​
status? ​

number

cause? ​

unknown

Returns ​

ArtifactFetchError

Overrides ​

ArmadaError.constructor

Properties ​

code ​

readonly code: "ARTIFACT_FETCH" = 'ARTIFACT_FETCH'

Defined in: src/errors.ts:110

Overrides ​

ArmadaError.code


status? ​

readonly optional status?: number

Defined in: src/errors.ts:111