enum CADIFactoryErrorCode_t
{
CADIFACT_ERROR_OK, // No error at all,
// message is empty.
// License checking
CADIFACT_ERROR_LICENSE_FOUND_BUT_EXPIRED,
CADIFACT_ERROR_LICENSE_NOT_FOUND,
CADIFACT_ERROR_LICENSE_COUNT_EXCEEDED,
CADIFACT_ERROR_CANNOT_CONTACT_LICENSE_SERVER,
CADIFACT_ERROR_WARNING_LICENSE_WILL_EXPIRE_SOON, // Always warning = true.
CADIFACT_ERROR_GENERAL_LICENSE_ERROR, // For all other license errors.
// Info: the parameter that
// caused this error is indicated
// in erroneousParameterId.
CADIFACT_ERROR_PARAMETER_TYPE_MISMATCH, // dataType != dataType
CADIFACT_ERROR_PARAMETER_VALUE_OUT_OF_RANGE,
CADIFACT_ERROR_PARAMETER_VALUE_INVALID, // Not out of range but still
// invalid.
CADIFACT_ERROR_UNKNOWN_PARAMETER_ID,
CADIFACT_ERROR_GENERAL_PARAMETER_ERROR, // For all other errors
// concerning a specific
// parameter.
CADIFACT_ERROR_GENERAL_ERROR, // Other, for everything else
// that prevented the CADI
// interface from being created.
CADIFACT_ERROR_GENERAL_WARNING, // Always warning = true, for
// everything else that still
// allowed the CADI interface to
// be created.
CADIFACT_ERROR_MAX = 0xFFFFFFFF
};