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

Method constructor

src/errors/rpc.ts:228–237  ·  view source on GitHub ↗
(cause: Error)

Source from the content-addressed store, hash-verified

226 static code = -32000 as const
227
228 constructor(cause: Error) {
229 super(cause, {
230 code: InvalidInputRpcError.code,
231 name: 'InvalidInputRpcError',
232 shortMessage: [
233 'Missing or invalid parameters.',
234 'Double check you have provided the correct parameters.',
235 ].join('\n'),
236 })
237 }
238}
239
240/**

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected