@zerodev/sdk
Version:
A utility library for working with ERC-4337
26 lines • 1.09 kB
JavaScript
Object.defineProperty(exports, "__esModule", { value: true });
exports.SignTransactionNotSupportedBySmartAccountError = exports.AccountNotFoundError = void 0;
const viem_1 = require("viem");
class AccountNotFoundError extends viem_1.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"
});
}
}
exports.AccountNotFoundError = AccountNotFoundError;
class SignTransactionNotSupportedBySmartAccountError extends viem_1.BaseError {
constructor() {
super("Smart account signer doesn't need to sign transactions", {
name: "SignTransactionNotSupportedError"
});
}
}
exports.SignTransactionNotSupportedBySmartAccountError = SignTransactionNotSupportedBySmartAccountError;
//# sourceMappingURL=index.js.map
;