# API Reference v10.3.1 (Python)

## GCodeExecutionExceptionData (data class)

Module: zaber_motion.exceptions

Contains additional data for [GCodeExecutionException](https://software.zaber.com/motion-library/api/py/exceptions/gcodeexecutionexception.md).

To use this type, add `from zaber_motion.exceptions import GCodeExecutionExceptionData` to the top of your source code.

### Properties

#### `from_block`

`g_code_execution_exception_data.from_block`

Type: `int`

The index in the block string that caused the exception.

#### `to_block`

`g_code_execution_exception_data.to_block`

Type: `int`

The end index in the block string that caused the exception. The end index is exclusive.
