Status Codes

Most of the functions in the TIBCO ActiveSpaces C API return a result of type tibas_status, which is defined in the header file types.h.

The value of tibas_status is an enum which can have the following values indicated in Table 1, Status Codes:

Status Codes
Constant Type Description
TIBAS_OK no error The operation was successful.
TIBAS_ALREADY_EXISTS error The operation failed because updating from null occurred, because there is currently a tuple in the space for the requested key field(s) value(s).
TIBAS_LOCKED error The operation failed because the tuple was already locked by another thread or process (depending on the LockScope).
TIBAS_MISMATCHED_LOCK error The lock expired in the space and another member already locked the tuple.
TIBAS_INCOMPATIBLE_TUPLE error The operation failed because the name of a field contained in the tuple is incompatible with the space definition.
TIBAS_MISMATCHED_TUPLE error The operation failed because the tuple is incompatible with the space definition.
TIBAS_INCOMPATIBLE_TYPE severe error The operation failed because two data types involved in an operation are incompatible
TIBAS_LIMIT_EXCEEDED error The operation failed because a predefined limit on the space, such as capacity, has been exceeded.
TIBAS_INVALID_ARG severe error The operation failed because an invalid argument was passed to an operation.
TIBAS_SYS_ERROR severe error The operation failed because of a system error.