7 Error Functions

This chapter contains functions used to investigate and examine error returns obtained from the C API functions described in this manual.

Most methods in this library return an enumeration, kv_error_t, indicating success or failure. Because of the need to also return integer and "boolean-like" values in some cases, all actual error values are negative. 0 (KV_SUCCESS) indicates no error. Valid integer return values are non-negative. When an error is returned the kv_get_last_error() method may have additional information about the error.

Error Functions

Error Functions Description
kv_get_last_error()

Return a string explaining the last error