Defined in: aa-sdk/core/src/errors/base.ts:24
A custom error class that extends from ViemBaseError. This class allows for error messages to include links to relevant documentation based on provided docsPath and docsSlug parameters.
This is based on on viem's BaseError type (obviously from the import and extend)
we want the errors here to point to our docs if we supply a docsPath though
AccountNotFoundErrorNotAModularAccountV2ErrorAccountRequiresOwnerErrorBatchExecutionNotSupportedErrorDefaultFactoryNotDefinedErrorFailedToGetStorageSlotErrorGetCounterFactualAddressErrorIncorrectAccountTypeSignTransactionNotSupportedErrorSmartAccountWithSignerRequiredErrorUpgradeToAndCallNotSupportedErrorUpgradesNotSupportedErrorChainNotFoundErrorIncompatibleClientErrorInvalidRpcUrlErrorInvalidEntityIdErrorInvalidNonceKeyErrorEntityIdOverrideErrorInvalidModularAccountV2ModeInvalidDeferredActionNonceEntryPointNotFoundErrorInvalidEntryPointErrorInvalidSignerTypeErrorFailedToFindTransactionErrorTransactionMissingToParamErrorInvalidUserOperationErrorWaitForUserOperationError
new BaseError(shortMessage, args): BaseError;Defined in: aa-sdk/core/src/errors/base.ts:28
Parameters
| Parameter | Type |
|---|---|
|
|
|
|
Returns
BaseError
Overrides
ViemBaseError.constructor;