A zero return code (CL_OK) always indicates success. Non-zero return codes always carry two types of information, masked into one single value: a Component Identifier and an Error Code. The component identifier identifies the component (or software layer) in which the problem occurred, while the error code describes the nature of the problem. Some error codes are common across all components, while others are component specific.
The format of the return codes returned by OpenClovis APIs is 0xCCNNNN (given in hex), where 0xCC is the ASP Component Identifier and 0xNNNN is the Error Code.
The following tables are provided to help software engineers to quickly decode return codes found in ASP log files:
| Value | Error Code | Comments |
| 0x100 | CL_COR_ERR_INVALID_CLASS | The class Identifier passed is invalid. |
| 0x101 | CL_COR_ERR_INVALID_STATE | The processing has reached an invalid state. |
| 0x102 | CL_COR_ERR_INVALID_MSP_ID | The invalid MSP ID is supplied. |
| 0x103 | CL_COR_ERR_MAX_DEPTH | The respective append functions cannot add any more nodes to the MOID or MO class path. |
| 0x104 | CL_COR_ERR_INVALID_DEPTH | The depth specified in the MOID or Object Handle is invalid. |
| 0x105 | CL_COR_ERR_CLASS_PRESENT | The class being created is already present in the COR. |
| 0x106 | CL_COR_ERR_CLASS_NOT_PRESENT | The class being searched is not present in the COR. |
| 0x107 | CL_COR_ERR_CLASS_INSTANCES_PRESENT | The class information cannot be modified as it has instances present the object tree. |
| 0x108 | CL_COR_ERR_CLASS_ATTR_INVALID_VAL | The error shows that the value supplied to the attribute is invalid. |
| 0x109 | CL_COR_ERR_CLASS_ATTR_PRESENT | The class already has an attribute with the attribute Identifier being added. |
| 0x10a | CL_COR_ERR_OBJECT_LOCKED | The object is locked so no more operation can be done till it is unlocked. |
| 0x10b | CL_COR_ERR_OBJECT_INVALID | The object on which operation is requested is invalid. |
| 0x10c | CL_COR_ERR_CLASS_ATTR_NOT_PRESENT | The attribute being searched is not present in the class. |
| 0x10d | CL_COR_ERR_CLASS_ATTR_TILL_REACHED | The end marker for the class being searched has encountered. |
| 0x10e | CL_COR_ERR_CLASS_ATTR_OUT_OF_RANGE | The value of attribute is more than the range of value of its data type. |
| 0x10f | CL_COR_ERR_CLASS_ATTR_INVALID_INDEX | The index specified for the attribute is invalid. This can be an index for an array attribute which is out of range of the array length or for a simple attribute it is not specified as CL_COR_INVALID_ATTR_IDX. |
| 0x110 | CL_COR_ERR_CLASS_ATTR_INVALID_RELATION | The size of the attribute is not matching its data type. |
| 0x111 | CL_COR_ERR_OBJ_ATTR_INVALID_SET | The set operation is done on a containment attribute. |
| 0x112 | CL_COR_ERR_CLASS_INVALID_PATH | The MO class path specified is invalid. |
| 0x113 | CL_COR_ERR_OBJECT_ACTIVE | The object being enabled is already active. |
| 0x114 | CL_COR_ERR_ROUTE_PRESENT | The error shows that OI is already present in the route list. |
| 0x115 | CL_COR_ERR_UNKNOWN_COR_INSTANCE | The disable request for an invalid COR instance has arrived. |
| 0x116 | CL_COR_ERR_INSUFFICIENT_BUFFER | The buffer supplied is not enough for the processing. |
| 0x117 | CL_COR_ERR_CLASS_MISMATCH | The classes does not match either due to class identifier or attribute identifier present in the classes. |
| 0x118 | CL_COR_ERR_CLASS_ATTR_INVALID_TYPE | The class attribute data type specified is invalid. |
| 0x119 | CL_COR_ERR_ROUTE_NOT_PRESENT | The specified OI does not exist in the route list. |
| 0x11a | CL_COR_ERR_NOT_SUPPORTED | An unsupported state has reached while processing the request. |
| 0x11b | CL_COR_ERR_INVALID_OH_MASK | The Object Handle (OH) mask provided is invalid. |
| 0x11c | CL_COR_ERR_ALREADY_INIT | The COR EO is already been initialized. |
| 0x11d | CL_COR_ERR_CLASS_ATTR_NOT_INITIALIZED | The object is created for a class containing initialized attributes, without specifying any value for them. |
| 0x11e | CL_COR_ERR_OBJ_ATTR_NOT_PRESENT | The attribute being set does not exist in the object. |
| 0x11f | CL_COR_ERR_CLASS_IS_BASE | This error will occur when base class is deleted. |
| 0x120 | CL_COR_ERR_OBJ_NOT_PRESENT | The managed object does not exist in the COR. |
| 0x121 | CL_COR_ERR_INVALID_SIZE | The size specified for the attribute is invalid. This can happen in the the case of set or get operation on the Managed object attribute. |
| 0x122 | CL_COR_ERR_VERSION_UNSUPPORTED | The version specified by the client is not supported at server. |
| 0x130 | CL_COR_MO_TREE_ERR_FAILED_TO_ADD_NODE | The error occured while adding the node to the MO class tree. |
| 0x131 | CL_COR_MO_TREE_ERR_FAILED_TO_DEL_NODE | The failure occured while deleting the MO-class tree node. |
| 0x132 | CL_COR_MO_TREE_ERR_FAILED_USR_BUF | The error specifies that a failure occured while getting the user buffer from the MO class tree. |
| 0x133 | CL_COR_MO_TREE_ERR_CLASS_NO_PRESENT | The MO class tree do not have a node corresponding to the class identifier specified. |
| 0x134 | CL_COR_MO_TREE_ERR_NODE_NOT_FOUND | The MO class tree node not found for a given MO class path. |
| 0x135 | CL_COR_MO_TREE_ERR_NODE_FOUND | The class node already exist in the MO class tree. |
| 0x136 | CL_COR_MO_TREE_ERR_MAX_INST | The maximum instance for the MO class tree has reached. |
| 0x137 | CL_COR_MO_TREE_ERR_CHILD_CLASS_EXIST | The MO tree node cannot be deleted as the child node(s) exists. |
| 0x140 | CL_COR_INST_ERR_NODE_NOT_FOUND | The Mananged object node does not exist in the object tree. |
| 0x141 | CL_COR_INST_ERR_MSO_ALREADY_PRESENT | The Managed service object for a Managed object is already present in the object tree. |
| 0x142 | CL_COR_INST_ERR_MO_ALREADY_PRESENT | The Managed object is already present in the object tree. |
| 0x143 | CL_COR_INST_ERR_MSO_NOT_PRESENT | The Managed service object for a MO doesn't exist in the object tree. |
| 0x144 | CL_COR_INST_ERR_INVALID_MOID | The invalid MOID is supplied to the function. This can be either due to an invalid class identifier or invalid instance identifier for a class. |
| 0x145 | CL_COR_INST_ERR_UNPACK_FAILED | An error occured while upacking the object tree. |
| 0x146 | CL_COR_INST_ERR_NODE_ALREADY_PRESENT | The object instance node is already present in the object tree. |
| 0x147 | CL_COR_INST_ERR_NODE_NOT_TO_PACK | A failure has occured while packing the instance tree. |
| 0x148 | CL_COR_INST_ERR_CHILD_MO_EXIST | The object node cannot be chopped as there is a child node(s) existing. |
| 0x149 | CL_COR_INST_ERR_MSO_EXIST | The object node cannot be delete as there are MSO node(s) existing. |
| 0x14a | CL_COR_INST_ERR_MAX_INSTANCE | The request for the object instance creation has exceeded the maximum instance limit specified while modeling. |
| 0x14b | CL_COR_INST_ERR_PARENT_MO_NOT_EXIST | An error occurred while looking for the parent in the object tree. |
| 0x150 | CL_COR_TXN_ERR_OUT_OF_TXN | The transaction is completed for this trasaction id. |
| 0x151 | CL_COR_TXN_ERR_INVALID_ID | The transaction id is invalid. |
| 0x152 | CL_COR_TXN_ERR_INVALID_STATE | This error will occur when both set and delete operation are done on same Managed Object in one transaction. |
| 0x153 | CL_COR_TXN_ERR_SPANS_MULTI_OBJ | The transaction spans mutlitple object. This is an obselete error code. |
| 0x154 | CL_COR_TXN_ERR_INVALID_OP | The Invalid operation type has been supplied. The operation type should be one of value present in the enum ClCorOpsT. |
| 0x155 | CL_COR_TXN_ERR_FIRST_JOB | The failure occured to get the previous job when there is only one job in the transacation. |
| 0x156 | CL_COR_TXN_ERR_LAST_JOB | The get-next is done after reaching the last job in the job-list. |
| 0x157 | CL_COR_TXN_ERR_ZERO_JOBS | There are no jobs in the transaction being started. |
| 0x158 | CL_COR_TXN_ERR_INVALID_JOB_ID | The job-Identifier specified is invalid. |
| 0x159 | CL_COR_TXN_ERR_FAILED_JOB_GET | An error has occured while getting the transaction failed-jobs for a given cor-transaction session identifier. |
| 0x15a | CL_COR_TXN_ERR_FAILED_JOB_NOT_EXIST | There are no transaction failed-jobs existing for the given cor-transaction session identifier. |
| 0x15b | CL_COR_ERR_RUNTIME_CACHED_SET | A set operation is performed on a runtime cached attribute by a non-primary OI. |
| 0x15c | CL_COR_ERR_ATTR_NON_WRITABLE_SET | A set operation is performed on a non-writable attribute. |
| 0x15d | CL_COR_TXN_ERR_JOB_WALK_TERMINATE | The transaction job walk is terminated. This can be used to break the transaction job walk at any desired point. |
| 0x160 | CL_COR_NOTIFY_ERR_INVALID_OP | The invalid operation type is specified. The operation type should be one of values specified in ClCorOpsT. |
| 0x161 | CL_COR_NOTIFY_ERR_CANNOT_RESOLVE_CLASS | The service Id of the MOID is specified as wild card while doing event subscription. |
| 0x170 | CL_COR_SVC_ERR_INVALID_FLAGS | The Object flag specified is invalid. |
| 0x171 | CL_COR_SVC_ERR_INVALID_ID | The service Id for the MSO specified in the MOID is invalid. This should be one of the value defined in ClCorServiceIdT. |
| 0x172 | CL_COR_INTERNAL_ERR_INVALID_COR_LIST | The COR-List is not initialized. |
| 0x173 | CL_COR_INTERNAL_ERR_INVALID_RM_FLAGS | The object flag type supplied is invalid. |
| 0x180 | CL_COR_UTILS_ERR_INVALID_KEY | The COR server could not find a specified entry in the object tree or the class tree. |
| 0x181 | CL_COR_UTILS_ERR_MEMBER_NOT_FOUND | The member does not exist in the list. |
| 0x182 | CL_COR_UTILS_ERR_INVALID_NODE_REF | The invalid node is referred by giving a MO-class path. |
| 0x183 | CL_COR_UTILS_ERR_INVALID_TAG | The tags supplied while packing MO-class tree or object tree at the active COR are not found proper after unpacking at the standby COR. |
| 0x184 | CL_COR_UTILS_ERR_FOUND_END_TAG | The end tag is encountered while upacking the object or MO-class tree. |
| 0x185 | CL_COR_UTILS_ERR_MOCLASSPATH_MISMATCH | The failure occured in comparing two MO-Class paths. |
| 0x190 | CL_COR_ERR_CONFIG_ATTR_FLAG | The config attribute is either marked as non-cached or non-persistent. |
| 0x191 | CL_COR_ERR_RUNTIME_ATTR_WRITE | The attribute flag of a runtime attribute is marked as writable. |
| 0x192 | CL_COR_ERR_ATTR_PERS_WITHOUT_CACHE | A runtime attribute is marked as persistent without being marked as cached. |
| 0x193 | CL_COR_ERR_ATTR_FLAGS_INVALID | The attribute user flag passed is invalid. |
| 0x194 | CL_COR_ERR_OP_ATTR_TYPE_INVALID | The attribute data type is invalid. |
| 0x1a0 | CL_COR_ERR_GET_DATA_NOT_FOUND | The attribute data not found at the OI or at the COR. |
| 0x1a1 | CL_COR_ERR_BUNDLE_INIT_FAILURE | A failure occured in the bundle initialization. |
| 0x1a2 | CL_COR_ERR_BUNDLE_APPLY_FAILURE | Failure while doing a bundle apply. |
| 0x1a3 | CL_COR_ERR_ZERO_JOBS_BUNDLE | The bundle is applied without adding any jobs to it. |
| 0x1a4 | CL_COR_ERR_ATTR_READ_ONLY | A read-only attribute is being set. |
| 0x1a5 | CL_COR_ERR_BUNDLE_FINALIZE | The failure occured finalizing the bundle. |
| 0x1a6 | CL_COR_ERR_BUNDLE_TIMED_OUT | The bundle timeout has occured in the case of a synchronous bundle. |
| 0x1a7 | CL_COR_ERR_BUNDLE_IN_EXECUTION | The bundle is applied or finalized to a bundle for which the response has not yet reached after applying. |
| 0x1a8 | CL_COR_ERR_BUNDLE_INVALID_TYPE | The bundle type (ClCorBundleConfigT) is supplied wrongly to the bundle initialize. For this release it should be only CL_COR_BUNDLE_NON_TRANSACTIONAL. |
| 0x1c0 | CL_COR_ERR_OI_NOT_REGISTERED | The OI is not registered when doing get of the primary OI. It also indicate that a primary OI flag is being set for OI without adding it to the route list. |
| 0x1c1 | CL_COR_ERR_OI_ALREADY_REGISTERED | An OI is already registered as a primary OI for the Managed object. |
| 0x1d0 | CL_COR_COMM_ERR_INVALID_OP | The invalid Operation type supplied to the comm. |
| 0x1e0 | CL_COR_CLI_ERR_INVALID_USAGE | The invalid usage of the CLI command has occured. |
| Value | Error Code | Comments |
| 0x100 | CL_IOC_ERR_INIT_FAILED | IOC or Transport is not initialized. |
| 0x101 | CL_IOC_ERR_COMMPORT_REG_FAIL | Registering the communication port with IOC has failed. |
| 0x102 | CL_IOC_ERR_TRY_AGAIN | The operation could not succeed. Can be tried again. |
| 0x103 | CL_IOC_ERR_COMMPORT_INVALID_MODE | Invalid mode of communication port. |
| 0x104 | CL_IOC_ERR_TL_LIMIT_EXCEEDED | No more entries can be added to TL. |
| 0x105 | CL_IOC_ERR_TL_DUPLICATE_ENTRY | Entry already exists. |
| 0x106 | CL_IOC_ERR_TL_ACTIVE_INST_NOT_PRESENT | No active instance present. |
| 0x107 | CL_IOC_ERR_INVALID_SESSION | Not a valid session. |
| 0x108 | CL_IOC_ERR_COMP_UNREACHABLE | The requested component/commport is not reachable. |
| 0x109 | CL_IOC_ERR_XPORT_NOT_REGISTERED | Transport is not registered. |
| 0x10a | CL_IOC_ERR_XPORT_ALREADY_REGISTERED | Transport is already registered. |
| 0x10b | CL_IOC_ERR_XPORT_LINK_NOT_REGISTERED | Link is not registered. |
| 0x10c | CL_IOC_ERR_XPORT_LINK_NOT_DELETED | Link couldnot be deleted. |
| 0x10d | CL_IOC_ERR_HOST_UNREACHABLE | The requested host is not reachable. |
| 0x10e | CL_IOC_ERR_COMMPORT_BLOCKED | The communications is blocked, performing the requested operation. |
| 0x10f | CL_IOC_ERR_ROUTE_NOT_EXIST | Route entry does not exist. |
| 0x110 | CL_IOC_ERR_PROTO_IN_USE_WITH_IOC | The passed protocol type is IOC internal protocol. |
| 0x111 | CL_IOC_ERR_FLOW_XOFF_STATE | Flow control is in XOFF state. |
| 0x112 | CL_IOC_ERR_RECV_UNBLOCKED | Receive call did not succeed, blocked receive call is unblocked. |
| 0x113 | CL_IOC_ERR_INVALID_MSG_OPTION | Invalid type of message passed. |
| 0x114 | CL_IOC_ERR_XPORT_LINK_LIMIT_EXCEEDED | Maximum number of links allowed per transport has already reached. |
| 0x115 | CL_IOC_ERR_NODE_EXISTS | Node is already registered. |
| 0x116 | CL_IOC_ERR_MAX | IOC maximum of error code. |
| Value | Error Code | Comments |
| 0x100 | CL_OSAL_ERR_OS_ERROR | Error returned when the osal library is not initialized |
| 0x101 | CL_OSAL_ERR_CREATE_MUTEX | Error returned when creation of mutex fails. |
| 0x102 | CL_OSAL_ERR_TASK_ATTRIBUTE_INIT | Error returned when initialization of task attribute fails. |
| 0x103 | CL_OSAL_ERR_TASK_CREATE | Error returned when creation of task fails. |
| 0x104 | CL_OSAL_ERR_TASK_DELETE | Error returned when deletion of task fails. |
| 0x105 | CL_OSAL_ERR_TASK_ATTRIBUTE_SET | Error returned when task attribute cannot be set. |
| 0x106 | CL_OSAL_ERR_TASK_DELAY | Error returned when delaying a task fails. |
| 0x107 | CL_OSAL_ERR_MUTEX_CREATE | Error returned when creation of mutex fails. |
| 0x108 | CL_OSAL_ERR_MUTEX_LOCK | Error returned when locking of mutex fails. |
| 0x109 | CL_OSAL_ERR_MUTEX_UNLOCK | Error returned when unlocking of mutex fails. |
| 0x10a | CL_OSAL_ERR_MUTEX_DELETE | Error returned when deletion of mutex fails. |
| 0x10b | CL_OSAL_ERR_CONDITION_CREATE | Error returned when initializing condition variable fails. |
| 0x10c | CL_OSAL_ERR_CONDITION_DELETE | Error returned when destroying condition variable fails. |
| 0x10d | CL_OSAL_ERR_CONDITION_WAIT | Error returned when waiting on a condition variable fails. |
| 0x10e | CL_OSAL_ERR_CONDITION_BROADCAST | Error returned when unable to restart all threads waiting on a condition variable. |
| 0x10f | CL_OSAL_ERR_CONDITION_SIGNAL | Error returned when unable to restart a thread waiting on a condition variable |
| 0x110 | CL_OSAL_ERR_SCHEDULE_POLICY | Not used |
| 0x111 | CL_OSAL_ERR_COS_CLEANUP | Error returned when finalization of osal library fails. |
| 0x112 | CL_OSAL_ERR_TASK_ATTRIBUTE_GET | Error returned when task attribute cannot be retrieved. |
| 0x113 | CL_OSAL_ERR_NO_TASK_EXIST | Error returned when the task referred to does not exist. |
| 0x114 | CL_OSAL_ERR_TASK_STACK_SIZE | Error returned when stack size of thread creation attribute cannot be set |
| 0x115 | CL_OSAL_ERR_TIME_OF_DAY | Error returned when time of day cannot be obtained |
| 0x116 | CL_OSAL_ERR_SEM_CREATE | Error returned when creation of semaphore fails. |
| 0x117 | CL_OSAL_ERR_SEM_ID_GET | Error returned when the semaphore ID cannot be retrieved. |
| 0x118 | CL_OSAL_ERR_SEM_LOCK | Error returned when locking of a semaphore fails. |
| 0x119 | CL_OSAL_ERR_SEM_UNLOCK | Error returned when unlocking of a semaphore fails. |
| 0x11a | CL_OSAL_ERR_SEM_GET_VALUE | Error returned when the value of semaphore cannot be obtained. |
| 0x11b | CL_OSAL_ERR_SEM_DELETE | Error returned when deletion of a semaphore fails. |
| 0x11c | CL_OSAL_ERR_PROCESS_CREATE | Error returned when process creation fails. |
| 0x11d | CL_OSAL_ERR_PROCESS_DELETE | Error returned when deletion fails. |
| 0x11e | CL_OSAL_ERR_PROCESS_WAIT | Error returned when waiting on a child process fails. |
| 0x11f | CL_OSAL_ERR_SHM_CREATE | Error returned when creation of shared memory fails. |
| 0x120 | CL_OSAL_ERR_SHM_ID_GET | Error returned when the ID of the shared memory cannot be retrieved. |
| 0x121 | CL_OSAL_ERR_SHM_DELETE | Error returned when deletion of shared memory fails. |
| 0x122 | CL_OSAL_ERR_SHM_ATTACH | On failure in attaching a shared memory. |
| 0x123 | CL_OSAL_ERR_SHM_DETACH | On failure in detaching a shared memory. |
| 0x124 | CL_OSAL_ERR_SHM_MODE_SET | On failure in setting permissions to a shared memory. |
| 0x125 | CL_OSAL_ERR_SHM_MODE_GET | On failure in retrieving permissions of a shared memory. |
| 0x126 | CL_OSAL_ERR_SHM_SIZE | On failure in retrieving size of a shared memory. |
| 0x127 | CL_OSAL_ERR_COS_INIT | Error returned when initialization of osal library failed. |
| 0x128 | CL_OSAL_ERR_MEM_POOL_CREATE | Error returned when creation of memory pool fails. |
| 0x129 | CL_OSAL_ERR_MEM_POOL_DETACH | Error returned when detaching of memory pool fails. |
| 0x130 | CL_OSAL_ERR_MEM_POOL_DELETE | Error returned when deleting of memory pool fails. |
| 0x131 | CL_OSAL_ERR_NAME_TOO_LONG | Error returned when the name given in semaphore creation is greater than 20 |
| 0x132 | CL_OSAL_ERR_CONDITION_TIMEDOUT | Error returned when the thread is not signalled within a time period specified |