Defining errors

Each API function must specify a function return. The return codes can be whatever makes sense for the function. Use existing Natural Access error codes as much as possible. For example, generic error codes include CTAERR_OUT_OF_MEMORY, CTAERR_OUT_OF_RESOURCES, and CTAERR_BOARD_ERROR.

Generic error codes are provided in ctaerr.h.

tik service

Error communicating with server.

Server connection has not been established.

Owner conflict for Natural Access context.

Unknown server response.

Cannot establish connection to server.