System Errors in C for RAD

If the access fails due to a system error, the entry points should return one of the following error codes:

  • CE_SYSTEM – An operation fails due to a system error. This error code should not have payload.

  • CE_NOTFOUND – The retrieve operation fails because the object does not exist. This error code should not have payload.

  • CE_EXISTS – The create operation fails because the object already exists. This error code should not have payload.

  • CE_PRIV – An operation fails due to insufficient privileges. This error code should not have payload.

  • CE_NOMEM – An operation fails due to insufficient memory. This error code should not have payload.