# API Reference v10.3.1 (Python)

## CommandFailedExceptionData (data class)

Module: zaber_motion.exceptions

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

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

### Properties

#### `command`

`command_failed_exception_data.command`

Type: `str`

The command that got rejected.

#### `response_data`

`command_failed_exception_data.response_data`

Type: `str`

The data from the reply containing the rejection reason.

#### `reply_flag`

`command_failed_exception_data.reply_flag`

Type: `str`

The flag indicating that the command was rejected.

#### `status`

`command_failed_exception_data.status`

Type: `str`

The current device or axis status.

#### `warning_flag`

`command_failed_exception_data.warning_flag`

Type: `str`

The highest priority warning flag on the device or axis.

#### `device_address`

`command_failed_exception_data.device_address`

Type: `int`

The address of the device that rejected the command.

#### `axis_number`

`command_failed_exception_data.axis_number`

Type: `int`

The number of the axis which the rejection relates to.

#### `id`

`command_failed_exception_data.id`

Type: `int`

The message ID of the reply.
