91 std::cout <<
"Error Code : " <<
status.errorCode
92 <<
", Error Description: " <<
status.errorDescription << std::endl;
Represents a 2D container of data.
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_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_INVALID_DEVICE
@ 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
The response from the device could not be parsed.
ErrorStatus()=default
Default constructor.
std::string errorDescription
bool isOK() const
Returns true if the operation succeeded.
ErrorStatus(ErrorCode code, const std::string &message)
Constructor.