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

Method constructor

src/errors/node.ts:271–276  ·  view source on GitHub ↗
({ cause }: { cause?: BaseError | undefined })

Source from the content-addressed store, hash-verified

269}
270export class UnknownNodeError extends BaseError {
271 constructor({ cause }: { cause?: BaseError | undefined }) {
272 super(`An error occurred while executing: ${cause?.shortMessage}`, {
273 cause,
274 name: 'UnknownNodeError',
275 })
276 }
277}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected