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

Method constructor

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

Source from the content-addressed store, hash-verified

378 static code = 4001 as const
379
380 constructor(cause: Error) {
381 super(cause, {
382 code: UserRejectedRequestError.code,
383 name: 'UserRejectedRequestError',
384 shortMessage: 'User rejected the request.',
385 })
386 }
387}
388
389/**

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected