@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
18 lines • 660 B
JavaScript
import { BaseError } from "./base.js";
export class InvalidUserOperationError extends BaseError {
constructor(uo) {
super(`Request is missing parameters. All properties on UserOperationStruct must be set. uo: ${JSON.stringify(uo, (_key, value) => typeof value === "bigint"
? {
type: "bigint",
value: value.toString(),
}
: value, 2)}`);
Object.defineProperty(this, "name", {
enumerable: true,
configurable: true,
writable: true,
value: "InvalidUserOperationError"
});
}
}
//# sourceMappingURL=useroperation.js.map