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

Function Error_SITypeMismatch

src/errors/errors.c:142–149  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

140}
141
142void Error_SITypeMismatch(SIValue received, SIType expected) {
143 size_t bufferLen = MULTIPLE_TYPE_STRING_BUFFER_SIZE;
144 char buf[bufferLen];
145
146 SIType_ToMultipleTypeString(expected, buf, bufferLen);
147 ErrorCtx_SetError("Type mismatch: expected %s but was %s", buf,
148 SIType_ToString(SI_TYPE(received)));
149}
150
151void Error_UnsupportedASTNodeType(const cypher_astnode_t *node) {
152 ASSERT(node != NULL);

Callers 9

FilterTree_applyFiltersFunction · 0.85
AR_JOINFunction · 0.85
AR_TOMAPFunction · 0.85
AR_SUBSCRIPTFunction · 0.85
AR_HAS_LABELSFunction · 0.85
_AR_NodeDegreeFunction · 0.85
AR_PROPERTYFunction · 0.85
_removeTrueFilterFunction · 0.85

Calls 3

ErrorCtx_SetErrorFunction · 0.85
SIType_ToStringFunction · 0.85

Tested by

no test coverage detected