IncorrectAccountType

Constructs an error object indicating that the expected account type does not match the actual account type.

IncorrectAccountType extends BaseError, see the docs for BaseError for all supported methods.

Import

1import { IncorrectAccountType } from "@aa-sdk/core";

Parameters

expected

string the expected account type

actual

string the actual account type that was received