Skip to content
Alchemy Logo

InvalidSignerTypeError | @aa-sdk/core

Defined in: aa-sdk/core/src/errors/signer.ts:6

Represents an error thrown when an invalid signer type is provided to the SmartAccountSigner.

new InvalidSignerTypeError(signerType?): InvalidSignerTypeError;

Defined in: aa-sdk/core/src/errors/signer.ts:14

Constructs an error message when an invalid signer type is passed to SmartAccountSigner.

Parameters

ParameterTypeDescription

signerType?

string

An optional parameter specifying the signer type. If not provided, a default error message will be used.

Returns

InvalidSignerTypeError

Overrides

BaseError.constructor

PropertyTypeDefault value

name

string

"InvalidSignerTypeError"

version

string

VERSION

Was this page helpful?