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

Method constructor

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

Source from the content-addressed store, hash-verified

470}
471export class InvalidAbiDecodingTypeError extends BaseError {
472 constructor(type: string, { docsPath }: { docsPath: string }) {
473 super(
474 [
475 `Type "${type}" is not a valid decoding type.`,
476 'Please provide a valid ABI type.',
477 ].join('\n'),
478 { docsPath, name: 'InvalidAbiDecodingType' },
479 )
480 }
481}
482
483export type InvalidArrayErrorType = InvalidArrayError & {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected