| 140 | } |
| 141 | |
| 142 | void 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 | |
| 151 | void Error_UnsupportedASTNodeType(const cypher_astnode_t *node) { |
| 152 | ASSERT(node != NULL); |
no test coverage detected