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