MCPcopy Create free account
hub / github.com/wevm/viem / constructor

Method constructor

src/errors/typedData.ts:39–44  ·  view source on GitHub ↗
({ type }: { type: string })

Source from the content-addressed store, hash-verified

37}
38export class InvalidStructTypeError extends BaseError {
39 constructor({ type }: { type: string }) {
40 super(`Struct type "${type}" is invalid.`, {
41 metaMessages: ['Struct type must not be a Solidity type.'],
42 name: 'InvalidStructTypeError',
43 })
44 }
45}
46
47export type InvalidTypedDataTypeErrorType = InvalidTypedDataTypeError & {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected