MCPcopy Create free account
hub / github.com/Snapchat/KeyDB / addReplyError

Function addReplyError

src/networking.cpp:616–619  ·  view source on GitHub ↗

See addReplyErrorLength for expectations from the input string. */

Source from the content-addressed store, hash-verified

614
615/* See addReplyErrorLength for expectations from the input string. */
616void addReplyError(client *c, const char *err) {
617 addReplyErrorLength(c,err,strlen(err));
618 afterErrorReply(c,err,strlen(err));
619}
620
621/* See addReplyErrorLength for expectations from the input string. */
622/* As a side effect the SDS string is freed. */

Callers 15

flushdbCommandFunction · 0.85
flushallCommandFunction · 0.85
selectCommandFunction · 0.85
parseScanCursorOrReplyFunction · 0.85
shutdownCommandFunction · 0.85
moveCommandFunction · 0.85
copyCommandFunction · 0.85
swapdbCommandFunction · 0.85
subscribeCommandFunction · 0.85
psubscribeCommandFunction · 0.85
getSlotOrReplyFunction · 0.85
clusterCommandFunction · 0.85

Calls 2

addReplyErrorLengthFunction · 0.85
afterErrorReplyFunction · 0.85

Tested by

no test coverage detected