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

Method constructor

src/zksync/errors/bytecode.ts:40–45  ·  view source on GitHub ↗
({ givenLength }: { givenLength: number })

Source from the content-addressed store, hash-verified

38
39export class BytecodeLengthMustBeDivisibleBy32Error extends BaseError {
40 constructor({ givenLength }: { givenLength: number }) {
41 super(
42 `The bytecode length in bytes must be divisible by 32. Given length: ${givenLength}`,
43 { name: 'BytecodeLengthMustBeDivisibleBy32Error' },
44 )
45 }
46}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected