UNPKG

@abstract-foundation/agw-client

Version:
17 lines (15 loc) 477 B
import { BaseError } from "viem"; export class InvalidEip712TransactionError extends BaseError { constructor() { super( [ "Transaction is not an EIP712 transaction.", "", "Transaction must:", ' - include `type: "eip712"`', " - include one of the following: `customSignature`, `paymaster`, `paymasterInput`, `gasPerPubdata`, `factoryDeps`", ].join("\n"), { name: "InvalidEip712TransactionError" }, ); } }