kv_get_last_error()
#include <kvstore.h>
const char *
kv_get_last_error(kv_store_t *store)
Returns a string explaining the last error. This string is only useful immediately following an error return; otherwise it may indicate an older, irrelevant error. This value is maintained per-thread and is not valid across threads.
Parameters
-
store
The store parameter is the handle to the store in which an operation returned an error.
See Also