Skip to content

@armada/sdk / index / SignerContractViolationError

Class: SignerContractViolationError

Defined in: src/errors.ts:97

A SpendSigner violated its contract (wrong signature count, or returned none).

Extends

Constructors

Constructor

new SignerContractViolationError(message, options?): SignerContractViolationError

Defined in: src/errors.ts:6

Parameters

message

string

options?
cause?

unknown

Returns

SignerContractViolationError

Inherited from

ArmadaError.constructor

Properties

code

readonly code: "SIGNER_CONTRACT_VIOLATION" = 'SIGNER_CONTRACT_VIOLATION'

Defined in: src/errors.ts:98

Overrides

ArmadaError.code