Skip to content
Alchemy Logo

UpgradeToAndCallNotSupportedError

Defined in: aa-sdk/core/src/errors/account.ts:154

Represents an error that occurs when an attempt is made to call UpgradeToAndCall on an account type that does not support it. Includes the account type in the error message.

new UpgradeToAndCallNotSupportedError(accountType): UpgradeToAndCallNotSupportedError;

Defined in: aa-sdk/core/src/errors/account.ts:162

Constructs an error message indicating that UpgradeToAndCall is not supported by the specified account type.

Parameters

ParameterTypeDescription

accountType

string

The type of account that does not support UpgradeToAndCall

Returns

UpgradeToAndCallNotSupportedError

Overrides

BaseError.constructor

PropertyTypeDefault value

name

string

"UpgradeToAndCallNotSupportedError"

version

string

VERSION

Was this page helpful?