When neo4j_check_failure() returns NEO4J_STATEMENT_EVALUATION_FAILED,
then this function can be used to get the detailed error message 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 The error message, or NULL if the stream has not failed or the
failure was not NEO4J_STATEMENT_EVALUATION_FAILED. If returned,
the message will be a NULL terminated string and may contain UTF-8
mutli-byte characters.
Return the error message sent from neo4j.
When neo4j_check_failure() returns NEO4J_STATEMENT_EVALUATION_FAILED, then this function can be used to get the detailed error message 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 The error message, or NULL if the stream has not failed or the failure was not NEO4J_STATEMENT_EVALUATION_FAILED. If returned, the message will be a NULL terminated string and may contain UTF-8 mutli-byte characters.