Skip to content
On this page

Class: MessageChangedError

Defined in: wallet-adapter/src/failure.ts:29 (opens in a new tab)

The page changed the message or address while the wallet signed; the signature is over the old one.

ExtendsLink to this section

  • Error

ConstructorsLink to this section

ConstructorLink to this section

TypeScript
new MessageChangedError(message?: string): MessageChangedError;

Defined in: wallet-adapter/src/failure.ts:31 (opens in a new tab)

ParametersLink to this section

ParameterTypeDefault
messagestringDefault "the message changed while the wallet signed"

ReturnsLink to this section

MessageChangedError

OverridesLink to this section

TypeScript
Error.constructor

PropertiesLink to this section

PropertyTypeDescriptionDefined in
code"E_MESSAGE_CHANGED"Modifier readonly · Inherited from -wallet-adapter/src/failure.ts:30 (opens in a new tab)
messagestringModifier public · Inherited from Error.messagenode_modules/typescript/lib/lib.es5.d.ts:1077
namestringModifier public · Inherited from Error.namenode_modules/typescript/lib/lib.es5.d.ts:1076
stack?stringModifier public · Inherited from Error.stacknode_modules/typescript/lib/lib.es5.d.ts:1078