Browse
 
Tools
Rss Categories

LV_SRE_ReturnGrammarErrorString

Reference Number: AA-00719 Views: 7362 0 Rating/ Voters

Returns a string that contains errors related to loading a specified grammar.

Function

  • const char* LV_SRE_ReturnGrammarErrorString(HPORT hport, const char* GrammarLabel)

Parameters

hport

The port's handle.

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 LV_SRE_ReturnGrammarErrorString are useful in debugging grammar load errors.

See Also