Browse
 
Tools
Rss Categories

LVSpeechPort::ReturnGrammarErrorString

Reference Number: AA-00808 Views: 6958 0 Rating/ Voters

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