When neo4j_check_failure() returns NEO4J_STATEMENT_EVALUATION_FAILED,
then this function can be used to get the error code sent from neo4j.
@attention Note that the returned pointer is only valid whilst the result
stream has not been closed.
@param results The result stream.
@return A NULL terminated string reprenting the error code, or NULL
if the stream has not failed or the failure was not
NEO4J_STATEMENT_EVALUATION_FAILED.
Return the error code sent from neo4j.
When neo4j_check_failure() returns NEO4J_STATEMENT_EVALUATION_FAILED, then this function can be used to get the error code sent from neo4j.
@attention Note that the returned pointer is only valid whilst the result stream has not been closed.
@param results The result stream. @return A NULL terminated string reprenting the error code, or NULL if the stream has not failed or the failure was not NEO4J_STATEMENT_EVALUATION_FAILED.