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

14 lines (12 loc) 355 B
import { BaseError } from "./base.js"; export class InvalidSignerTypeError extends BaseError { override name = "InvalidSignerTypeError"; constructor(signerType?: string) { super( [ "Invalid signer type parameter passed to SmartAccountSigner.", signerType ?? "A signerType must be provided.", ].join("\n") ); } }