Defined in: aa-sdk/core/src/errors/account.ts:170
Represents an error thrown when an account type does not match the expected type.
new IncorrectAccountType(expected, actual): IncorrectAccountType;Defined in: aa-sdk/core/src/errors/account.ts:179
Constructs an error object indicating that the expected account type does not match the actual account type.
Parameters
| Parameter | Type | Description |
|---|---|---|
|
| the expected account type |
|
| the actual account type that was received |
Returns
IncorrectAccountType