Returns a string that contains errors related to loading a specified grammar.
Function
- const char* ReturnGrammarErrorString(const char* GrammarLabel)
Parameters
GrammarLabel
The label of the grammar whose error string needs to be returned.
Return Values
Non-NULL
Error string returned. If there were no errors, it is an empty string.
NULL
Error returning Grammar Error string, hport or GrammarLabel may not be valid or port may be shutting down.
Remarks
The errors returned by ReturnGrammarErrorString are useful in debugging grammar load errors.
See Also