Below are the error codes returned by the driver functions back to an imaging application. They are prefixed with CE_ to designate them as camera errors: CE_NO_ERROR = 0. Driver functions typically return 0 on success or a positive error code on failure, as explained below. CE_CAMERA_NOT_FOUND = 1 CE_EXPOSURE_IN_PROGRESS = 2 CE_NO_EXPOSURE_IN_PROGRESS = 3 CE_UNKNOWN_COMMAND = 4 CE_BAD_CAMERA_COMMAND = 5 CE_BAD_PARAMETER = 6 CE_TX_TIMEOUT = 7 Driver returns error code 7 if cannot send data (usually through USB channel) to the camera. CE_RX_TIMEOUT = 8 Driver returns error code 8 back to the caller whenever it cannot read the data from the camera, typically through USB channel. CE_NAK_RECEIVED = 9 CE_CAN_RECEIVED = 10 CE_UNKNOWN_RESPONSE = 11 CE_BAD_LENGTH = 12 CE_AD_TIMEOUT = 13 CE_KBD_ESC = 14 CE_CHECKSUM_ERROR = 15 CE_EEPROM_ERROR = 16 CE_SHUTTER_ERROR = 17 CE_UNKNOWN_CAMERA = 18 CE_DRIVER_NOT_FOUND = 19 CE_DRIVER_NOT_OPEN = 20 CE_DRIVER_NOT_CLOSED = 21 CE_SHARE_ERROR = 22 CE_TCE_NOT_FOUND = 23 CE_AO_ERROR = 24 CE_ECP_ERROR = 25 CE_MEMORY_ERROR = 26 CE_DEVICE_NOT_FOUND = 27 CE_DEVICE_NOT_OPEN = 28 CE_DEVICE_NOT_CLOSED = 29 CE_DEVICE_NOT_IMPLEMENTED = 30 CE_DEVICE_DISABLED = 31 CE_OS_ERROR = 32 CE_SOCK_ERROR = 33 CE_SERVER_NOT_FOUND = 34 CE_CFW_ERROR = 35 CE_MF_ERROR = 36 CE_FIRMWARE_ERROR = 37 CE_DIFF_GUIDER_ERROR = 38 CE_RIPPLE_CORRECTION_ERROR = 39 CE_EZUSB_RESET = 40 CE_NEXT_ERROR = 41