B.1.2. CADIFactoryErrorCode_t

The CADIFactoryErrorCode_t type specifies the values for the different error conditions.

Example B.2. CADIFactoryErrorCode_t

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 which 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 which prevented the CADI
                                               // interface from being created
        CADIFACT_ERROR_GENERAL_WARNING,     // always warning = true, for everything else which still
                                            // allowed the CADI interface to be created
        CADIFACT_ERROR_MAX = 0xFFFFFFFF
};

Copyright © 2014 ARM. All rights reserved.ARM DUI 0842B
Non-ConfidentialID111014