Skip to content

@armada/sdk / index / InternalError

Class: InternalError ​

Defined in: src/errors.ts:223

An SDK invariant broke: a bug, or state the SDK didn't write (a corrupted or foreign storage record, artifacts the prover can't use). Not something the caller did; report it.

Extends ​

Constructors ​

Constructor ​

new InternalError(message, options?): InternalError

Defined in: src/errors.ts:6

Parameters ​

message ​

string

options? ​
cause? ​

unknown

Returns ​

InternalError

Inherited from ​

ArmadaError.constructor

Properties ​

code ​

readonly code: "INTERNAL" = 'INTERNAL'

Defined in: src/errors.ts:224

Overrides ​

ArmadaError.code