Struct ErrorStatus

Struct Documentation

struct mmind::api::ErrorStatus

This enumeration defines the types of errors.

Public Types

enum ErrorCode

Values:

enumerator MMIND_STATUS_SUCCESS

Success status.

enumerator MMIND_STATUS_INVALID_DEVICE

Error invalid device.

enumerator MMIND_STATUS_DEVICE_OFFLINE

Error offline device. Please check the status of the device.

enumerator MMIND_STATUS_FIRMWARE_NOT_SUPPORTED

Error not supported camera firmware. Please use MechEye Viewer to upgrade.

enumerator MMIND_STATUS_PARAMETER_SET_ERROR

Error setting parameter to device.

enumerator MMIND_STATUS_PARAMETER_GET_ERROR

Error reading parameter from device.

enumerator MMIND_STATUS_CAPTURE_NO_FRAME

Error no frame is captured.

Public Functions

ErrorStatus() = default
inline ErrorStatus(ErrorCode code, const std::string &message)
inline bool isOK() const

Public Members

ErrorCode errorCode = {MMIND_STATUS_SUCCESS}

Error code.

std::string errorDescription

Detailed error message.