@zerodev/sdk
Version:
A utility library for working with ERC-4337
21 lines • 758 B
JavaScript
import { BaseError } from "viem";
export class AccountNotFoundError extends BaseError {
constructor({ docsPath } = {}) {
super([
"Could not find an Account to execute with this Action.",
"Please provide an Account with the `account` argument on the Action, or by supplying an `account` to the Client."
].join("\n"), {
docsPath,
docsSlug: "account",
name: "AccountNotFoundError"
});
}
}
export class SignTransactionNotSupportedBySmartAccountError extends BaseError {
constructor() {
super("Smart account signer doesn't need to sign transactions", {
name: "SignTransactionNotSupportedError"
});
}
}
//# sourceMappingURL=index.js.map