Skip to content
Alchemy Logo

UpgradesNotSupportedError

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

An error class representing the condition where upgrades are not supported for a specific account type. This error extends the BaseError class and provides a custom error message based on the account type.

new UpgradesNotSupportedError(accountType): UpgradesNotSupportedError;

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

Error constructor for indicating that upgrades are not supported by the given account type.

Parameters

ParameterTypeDescription

accountType

string

The type of account that does not support upgrades

Returns

UpgradesNotSupportedError

Overrides

BaseError.constructor

PropertyTypeDefault value

name

string

"UpgradesNotSupported"

version

string

VERSION

Was this page helpful?