DefaultFactoryNotDefinedError
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.
Extends
Constructors
Constructor
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
Returns
DefaultFactoryNotDefinedError
Overrides
Properties
Methods
walk()
Call Signature
Defined in: node_modules/viem/_types/errors/base.d.ts:26
Returns
Error
Inherited from
Call Signature
Defined in: node_modules/viem/_types/errors/base.d.ts:27
Parameters
Returns
null
| Error
Inherited from
captureStackTrace()
Defined in: node_modules/@types/node/globals.d.ts:145
Creates a .stack
property on targetObject
, which when accessed returns
a string representing the location in the code at which
Error.captureStackTrace()
was called.
The first line of the trace will be prefixed with
${myObject.name}: ${myObject.message}
.
The optional constructorOpt
argument accepts a function. If given, all frames
above constructorOpt
, including constructorOpt
, will be omitted from the
generated stack trace.
The constructorOpt
argument is useful for hiding implementation
details of error generation from the user. For instance:
Parameters
Returns
void
Inherited from
prepareStackTrace()
Defined in: node_modules/@types/node/globals.d.ts:149
Parameters
Returns
any
See
https://v8.dev/docs/stack-trace-api#customizing-stack-traces