# AbiConstructor Errors

## `AbiConstructor.BytecodeMismatchError`

Throws when the provided `data` does not begin with the provided `bytecode`.

### Examples

```ts twoslash
import { AbiConstructor } from 'ox'

AbiConstructor.decode(
  AbiConstructor.from('constructor(address)'),
  { bytecode: '0x6080...', data: '0xdeadbeef' }
)
// @error: AbiConstructor.BytecodeMismatchError: Provided `data` does not start with the provided `bytecode`.
```

**Source:** [src/core/AbiConstructor.ts](https://github.com/wevm/ox/blob/main/src/core/AbiConstructor.ts#L490)
