# Execute Errors

## `Execute.UnsupportedModeError`

Thrown when the mode of ERC-7821 `execute` function data is not supported by the decoder.

### Examples

```ts twoslash
import { Execute } from 'ox/erc7821'

const data = Execute.encodeBatchOfBatchesData([
  {
    calls: [
      {
        data: '0xcafebabe',
        to: '0xdeadbeefdeadbeefdeadbeefdeadbeefdeadbeef',
        value: 1n
      }
    ]
  }
])

Execute.decodeData(data)
// @error: Execute.UnsupportedModeError: Execution mode `0x0100000000007821000200000000000000000000000000000000000000000000` is not supported.
```

**Source:** [src/erc7821/Execute.ts](https://github.com/wevm/ox/blob/main/src/erc7821/Execute.ts#L247)
