UNPKG

@alchemy/aa-core

Version:

viem based SDK that enables interactions with ERC-4337 Smart Accounts. ABIs are based off the definitions generated in @account-abstraction/contracts

27 lines 937 B
import { BaseError } from "./base.js"; export class EntryPointNotFoundError extends BaseError { constructor(chain, entryPointVersion) { super([ `No default entry point v${entryPointVersion} exists for ${chain.name}.`, `Supply an override.`, ].join("\n")); Object.defineProperty(this, "name", { enumerable: true, configurable: true, writable: true, value: "EntryPointNotFoundError" }); } } export class InvalidEntryPointError extends BaseError { constructor(chain, entryPointVersion) { super(`Invalid entry point: unexpected version ${entryPointVersion} for ${chain.name}.`); Object.defineProperty(this, "name", { enumerable: true, configurable: true, writable: true, value: "InvalidEntryPointError" }); } } //# sourceMappingURL=entrypoint.js.map