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

Method constructor

src/errors/abi.ts:317–329  ·  view source on GitHub ↗
(functionName: string, { docsPath }: { docsPath: string })

Source from the content-addressed store, hash-verified

315 }
316export class AbiFunctionOutputsNotFoundError extends BaseError {
317 constructor(functionName: string, { docsPath }: { docsPath: string }) {
318 super(
319 [
320 `Function "${functionName}" does not contain any \`outputs\` on ABI.`,
321 'Cannot decode function result without knowing what the parameter types are.',
322 'Make sure you are using the correct ABI and that the function exists on it.',
323 ].join('\n'),
324 {
325 docsPath,
326 name: 'AbiFunctionOutputsNotFoundError',
327 },
328 )
329 }
330}
331
332export type AbiFunctionSignatureNotFoundErrorType =

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected