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

Method constructor

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

Source from the content-addressed store, hash-verified

464 static code = 4901 as const
465
466 constructor(cause: Error) {
467 super(cause, {
468 code: ChainDisconnectedError.code,
469 name: 'ChainDisconnectedError',
470 shortMessage: 'The Provider is not connected to the requested chain.',
471 })
472 }
473}
474
475/**

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected