104 std::cout <<
"Error Code : " << status.
errorCode
Describes the types of errors.
ErrorCode
Describes the error codes.
@ MMIND_STATUS_SUCCESS
Success.
@ MMIND_STATUS_NO_DATA_ERROR
The image data is empty. Some error may have occurred on the device.
@ MMIND_STATUS_DEVICE_OFFLINE
Device is offline. Network issue may be present.
@ MMIND_STATUS_INVALID_CALLBACKFUNC
The registered callback function is invalid.
@ MMIND_STATUS_TIMEOUT_ERROR
@ MMIND_STATUS_INVALID_INPUT_ERROR
@ MMIND_STATUS_NO_SUPPORT_ERROR
@ MMIND_STATUS_DUPLICATE_REGISTRATION
@ MMIND_STATUS_MESSAGE_CHANNEL_OCCUPPIED
@ MMIND_STATUS_DEVICE_BUSY
@ MMIND_STATUS_REPLY_WITH_ERROR
The reply from the device contains errors.
@ MMIND_STATUS_OUT_OF_RANGE_ERROR
@ MMIND_HANDEYE_CALIBRATION_EXECUTION_ERROR
An error occurred while executing the hand-eye calibration.
@ MMIND_STATUS_PROFILE_POST_PROCESS_ERROR
An error occurred while profile post process.
@ MMIND_STATUS_INVALID_DEVICE
@ MMIND_STATUS_MESSAGE_CHANNEL_ERROR
@ MMIND_STATUS_ACQUISITION_TRIGGER_WAIT
Data acquisition has not been started.
@ MMIND_STATUS_PARAMETER_ERROR
@ MMIND_STATUS_FILE_IO_ERROR
@ MMIND_STATUS_RESPONSE_PARSE_ERROR
It is error to parse the response from device.
ErrorStatus()=default
Default constructor.
std::string errorDescription
bool isOK() const
Returns true if the operation succeeded.
ErrorStatus(ErrorCode code, const std::string &message)
Constructor.