Skip to content

@armada/sdk / index / InvalidConfigError

Class: InvalidConfigError ​

Defined in: src/errors.ts:210

The SDK configuration is invalid: a malformed field caught at createArmadaSdk, or an RPC that doesn't serve the configured chain / pool, caught before the first sync or preflight (so no checkpoint from the wrong chain is ever saved).

Extends ​

Constructors ​

Constructor ​

new InvalidConfigError(message, options?): InvalidConfigError

Defined in: src/errors.ts:6

Parameters ​

message ​

string

options? ​
cause? ​

unknown

Returns ​

InvalidConfigError

Inherited from ​

ArmadaError.constructor

Properties ​

code ​

readonly code: "INVALID_CONFIG" = 'INVALID_CONFIG'

Defined in: src/errors.ts:211

Overrides ​

ArmadaError.code