修改promis_fail错误描述

This commit is contained in:
zhangchengwei
2018-10-08 16:07:43 +08:00
committed by zhengchao
parent 664911cc23
commit 1efbe65031
6 changed files with 70 additions and 57 deletions

View File

@@ -130,6 +130,8 @@ void easy_string_savedata(struct easy_string *estr, const char *data, size_t len
void easy_string_destroy(struct easy_string *estr);
void tango_cache_ctx_destroy(struct tango_cache_ctx *ctx);
void tango_cache_set_fail_state(struct tango_cache_ctx *ctx, enum CACHE_ERR_CODE error_code);
const char *tango_cache_get_errstring(const struct tango_cache_ctx *ctx);
struct tango_cache_ctx *tango_cache_update_prepare(struct tango_cache_instance *instance, struct future* future, struct tango_cache_meta *meta);
struct tango_cache_ctx *tango_cache_fetch_prepare(struct tango_cache_instance *instance, struct future* future, struct tango_cache_meta *meta);