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

Method constructor

src/errors/abi.ts:457–465  ·  view source on GitHub ↗
(type: string, { docsPath }: { docsPath: string })

Source from the content-addressed store, hash-verified

455}
456export class InvalidAbiEncodingTypeError extends BaseError {
457 constructor(type: string, { docsPath }: { docsPath: string }) {
458 super(
459 [
460 `Type "${type}" is not a valid encoding type.`,
461 'Please provide a valid ABI type.',
462 ].join('\n'),
463 { docsPath, name: 'InvalidAbiEncodingType' },
464 )
465 }
466}
467
468export type InvalidAbiDecodingTypeErrorType = InvalidAbiDecodingTypeError & {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected