def _setMotorShutdown(self, value, device, message):
        """
        Set the motor shutdown on error status stored on the hardware device.

        :Parameters:
          value : `int`
            An integer indicating the effect on the motors when an error occurs.
          device : `int`
            The device is the integer number of the hardware devices ID and
            is only used with the Pololu Protocol.
          message : `bool`
            If set to `True` a text message will be returned, if set to `False`
            the integer stored in the Qik will be returned.

        :Returns:
          Text message indicating the status of the shutdown error.
        """
        value = self._BOOL_TO_INT.get(value, 1)
        self._deviceConfig[device]['shutdown'] = value
        return self._setConfig(self.MOTOR_ERR_SHUTDOWN, value, device, message)