({ givenLengthInWords }: { givenLengthInWords: number })
| 24 | |
| 25 | export class BytecodeLengthInWordsMustBeOddError extends BaseError { |
| 26 | constructor({ givenLengthInWords }: { givenLengthInWords: number }) { |
| 27 | super( |
| 28 | `Bytecode length in 32-byte words must be odd. Given length in words: ${givenLengthInWords}`, |
| 29 | { name: 'BytecodeLengthInWordsMustBeOddError' }, |
| 30 | ) |
| 31 | } |
| 32 | } |
| 33 | |
| 34 | export type BytecodeLengthMustBeDivisibleBy32ErrorType = |
nothing calls this directly
no outgoing calls
no test coverage detected