Skip to content
On this page

Class: TrimmedSignatureError

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

The wallet signed the message without its last line break, as Sparrow and Electrum's GUI do when they trim it, and only an auth challenge verifies that way.

ExtendsLink to this section

  • Error

ConstructorsLink to this section

ConstructorLink to this section

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

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

ParametersLink to this section

ParameterTypeDefault
messagestringDefault "the wallet signed the message without its last line break"

ReturnsLink to this section

TrimmedSignatureError

OverridesLink to this section

TypeScript
Error.constructor

PropertiesLink to this section

PropertyTypeDescriptionDefined in
code"E_TRIMMED_SIGNATURE"Modifier readonly · Inherited from -wallet-adapter/src/failure.ts:43 (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