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

Method constructor

src/errors/encoding.ts:61–66  ·  view source on GitHub ↗
(value: Hex)

Source from the content-addressed store, hash-verified

59}
60export class InvalidHexValueError extends BaseError {
61 constructor(value: Hex) {
62 super(
63 `Hex value "${value}" is an odd length (${value.length}). It must be an even length.`,
64 { name: 'InvalidHexValueError' },
65 )
66 }
67}
68
69export type RlpDepthLimitExceededErrorType = RlpDepthLimitExceededError & {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected