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