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

Method constructor

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

Source from the content-addressed store, hash-verified

117 static code = -32700 as const
118
119 constructor(cause: Error) {
120 super(cause, {
121 code: ParseRpcError.code,
122 name: 'ParseRpcError',
123 shortMessage:
124 'Invalid JSON was received by the server. An error occurred on the server while parsing the JSON text.',
125 })
126 }
127}
128
129/**

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected