Defined in: aa-sdk/core/src/errors/account.ts:38
Represents an error that is thrown when no default factory is defined for a specific account type on a given chain and entry point version.
This error suggests providing an override via the factoryAddress parameter when creating an account.
new DefaultFactoryNotDefinedError(
accountType,
chain,
version): DefaultFactoryNotDefinedError;Defined in: aa-sdk/core/src/errors/account.ts:48
Constructs an error message indicating that no default factory was found for the given account type, chain, and entry point version.
Parameters
| Parameter | Type | Description |
|---|---|---|
|
| the type of account |
| the blockchain chain | |
| keyof | the entry point version |
Returns
DefaultFactoryNotDefinedError