MCPcopy Create free account
hub / github.com/acl-dev/acl / get_error

Method get_error

lib_acl_cpp/src/redis/redis_result.cpp:165–172  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

163}
164
165const char* redis_result::get_error() const
166{
167 if (result_type_ != REDIS_RESULT_ERROR) {
168 return "";
169 }
170 const char* ptr = get(0);
171 return ptr == NULL ? "" : ptr;
172}
173
174const char* redis_result::get(size_t i, size_t* len /* = NULL */) const
175{

Callers 3

result_errorMethod · 0.45
runMethod · 0.45
handle_resultMethod · 0.45

Calls 1

getFunction · 0.50

Tested by

no test coverage detected