#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.