
Macros | |
| #define | VOLK_OK 0 |
| Generic success return code. | |
| #define | VOLK_NOACTION 88801 |
| No action taken. | |
| #define | VOLK_NORESULT 88802 |
| No result yielded. | |
| #define | VOLK_END 88803 |
| Loop end. | |
| #define | VOLK_CONFLICT 88804 |
| Conflict warning. | |
| #define | VOLK_ERROR -88899 |
| Generic error return code. | |
| #define | VOLK_PARSE_ERR -88898 |
| Codec parser error. | |
| #define | VOLK_VALUE_ERR -88897 |
| An invalid input value was provided. | |
| #define | VOLK_TXN_ERR -88896 |
| Error handling a store transaction. | |
| #define | VOLK_DB_ERR -88895 |
| Low-level database error. | |
| #define | VOLK_NOT_IMPL_ERR -88894 |
| Functionality is not implemented. | |
| #define | VOLK_IO_ERR -88893 |
| I/O error. | |
| #define | VOLK_MEM_ERR -88892 |
| Memory allocation error. | |
| #define | VOLK_CONFLICT_ERR -88891 |
| Conflict error. | |
| #define | VOLK_ENV_ERR -88890 |
| Error while handling environment setup; or environment not initialized. | |
Typedefs | |
| typedef int | VOLK_rc |
Functions | |
| const char * | VOLK_strerror (VOLK_rc rc) |
| Return an error message for a return code. | |
0 is success, positive integers (>88800) are warnings, and negative integers (>-88900) are errors.
| #define VOLK_NOACTION 88801 |
No action taken.
An attempt to create or update a resource was made, but the resource already existed substantially in the same form, so no action took place. The caller is expected to find the resource as though the action actually took place. If this is returned from the iteration of multiple updates, it means that none of the iterations produced a change in state.
| #define VOLK_NORESULT 88802 |
| #define VOLK_END 88803 |
| #define VOLK_CONFLICT 88804 |
Conflict warning.
An attempt to create or update a resource was made, but the resource existed with a different form or value. The caller should find the value of the existing resource to be different than the one that was attempted to store. If this is returned from the iteration of multiple updates, it means that some resources in the loop may have changed state and the operation as a whole completed successfully.
The error-level counterpart to this is VOLK_CONFLICT_ERR.
| #define VOLK_VALUE_ERR -88897 |
| #define VOLK_TXN_ERR -88896 |
| #define VOLK_NOT_IMPL_ERR -88894 |
| #define VOLK_CONFLICT_ERR -88891 |
Conflict error.
A critical resource conflict happened and no resources were updated. If this is returned from the iteration of multiple updates, it means that the operation has been interrupted and any state change within the loop prior to the error has been rolled back.
The warning-level counterpart to this is VOLK_CONFLICT.
| #define VOLK_ENV_ERR -88890 |