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

Method result_error

lib_acl_cpp/src/redis/redis_command.cpp:350–357  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

348}
349
350const char* redis_command::result_error() const
351{
352 const char* ptr = result_ ? result_->get_error() : "";
353 if (ptr && *ptr) {
354 return ptr;
355 }
356 return last_serror();
357}
358
359const redis_result* redis_command::result_child(size_t i) const
360{

Callers 15

redis_setFunction · 0.80
redis_getFunction · 0.80
redis_delFunction · 0.80
setMethod · 0.80
getMethod · 0.80
delMethod · 0.80
test_delFunction · 0.80
test_expireFunction · 0.80
test_ttlFunction · 0.80
test_hmsetFunction · 0.80
test_hmgetFunction · 0.80
fiber_redisFunction · 0.80

Calls 2

last_serrorFunction · 0.50
get_errorMethod · 0.45

Tested by 15

test_delFunction · 0.64
test_expireFunction · 0.64
test_ttlFunction · 0.64
test_hmsetFunction · 0.64
test_hmgetFunction · 0.64
test_addjobFunction · 0.64
test_ackjobFunction · 0.64
test_getjobFunction · 0.64
test_qlenFunction · 0.64
test_qpeekFunction · 0.64
test_addjobFunction · 0.64
test_ackjobFunction · 0.64