MCPcopy Create free account
hub / github.com/RedisGraph/RedisGraph / ErrorCtx_EncounteredError

Function ErrorCtx_EncounteredError

src/errors/errors.c:113–118  ·  view source on GitHub ↗

Returns true if error is set

Source from the content-addressed store, hash-verified

111
112// Returns true if error is set
113inline bool ErrorCtx_EncounteredError(void) {
114 ErrorCtx *ctx = ErrorCtx_Get();
115 ASSERT(ctx != NULL);
116
117 return ctx->error != NULL;
118}
119
120//------------------------------------------------------------------------------
121// Specific error scenarios

Callers 15

ResultSet_ReplyFunction · 0.85
_ExecuteQueryFunction · 0.85
_queryFunction · 0.85
Graph_ExplainFunction · 0.85
_ExecutionCtx_ParseASTFunction · 0.85
ExecutionCtx_FromQueryFunction · 0.85
_Validate_mapFunction · 0.85
_Validate_projectionFunction · 0.85
_Validate_reduceFunction · 0.85
_Validate_shortest_pathFunction · 0.85

Calls 1

ErrorCtx_GetFunction · 0.85

Tested by

no test coverage detected