Profiling Engine SDK
API Reference

API
Function List
Topical List
   
 
Query Language
Introduction
Summary
Operators
Tips, Questions, and Answers
   
 
Main Index
Index
Tutorial
API Functions
Query Language
   
Technology Overview
   
Contact Us
   
 
Other Products

Onix Text Search and Retrieval Engine
Brevity Document Summarizer
Lextek Document Profiler & Categorizer
RouteX Document Routing Engine
Lextek Language Identifier
 

prGetErrorMsg

Name

prGetErrorMsg

Synopsis

UCharT* prGetErrorMsg( ProfilingEngineT ProfilingEngine )

Arguments

ProfilingEngine: The profiling object you created with prCreateProfilingEngine.

Returns

A pointer to a NULL terminated string holding extended error information. It may return NULL if there is no error, so always check for NULL before using the string.

Description

prGetErrorMsg() returns extended error information, typically for parser errors. Often errors that arise when calling prProcessQuery() are due to syntax errors. If you have passed in a very long query, finding where the error is can be difficult. prGetErrorMsg() will give you more information about where the error is - typically the error location and why it is an error.

 

See Also

prProcessQuery