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
| Parameter | Type | Description |
|---|---|---|
|
| The type of account that does not support upgrades |
Returns
UpgradesNotSupportedError