MCPcopy Create free account
hub / github.com/F-Stack/f-stack / connGetLastError

Function connGetLastError

app/redis-6.2.6/src/connection.h:185–187  ·  view source on GitHub ↗

Returns the last error encountered by the connection, as a string. If no error, * a NULL is returned. */

Source from the content-addressed store, hash-verified

183 * a NULL is returned.
184 */
185static inline const char *connGetLastError(connection *conn) {
186 return conn->type->get_last_error(conn);
187}
188
189static inline ssize_t connSyncWrite(connection *conn, char *ptr, ssize_t size, long long timeout) {
190 return conn->type->sync_write(conn, ptr, size, timeout);

Callers 15

sendBulkToSlaveFunction · 0.85
rdbPipeWriteHandlerFunction · 0.85
rdbPipeReadHandlerFunction · 0.85
sendCommandRawFunction · 0.85
syncWithMasterFunction · 0.85
connectWithMasterFunction · 0.85
clientAcceptHandlerFunction · 0.85
acceptCommonHandlerFunction · 0.85
writeToClientFunction · 0.85
readQueryFromClientFunction · 0.85
clusterConnAcceptHandlerFunction · 0.85
clusterAcceptHandlerFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected