Defined in: aa-sdk/core/src/errors/client.ts:7
Represents an error thrown when a client is not compatible with the expected client type for a specific method. The error message provides guidance on how to create a compatible client.
new IncompatibleClientError(
expectedClient,
method,
client): IncompatibleClientError;Defined in: aa-sdk/core/src/errors/client.ts:17
Throws an error when the client type does not match the expected client type.
Parameters
| Parameter | Type | Description |
|---|---|---|
|
| The expected type of the client. |
|
| The method that was called. |
| The client instance. |
Returns
IncompatibleClientError