RulesEngine.GetLastCaughtErrors

Previous Next

Reports on all error messages caught in the active error catching session, using plain text as a format. To get the result in XML, use the GetLastCaughtErrorsAsXML method instead.

Returns a string that contains these error messages. Returns NULL if no errors occurred in the active error catching session.

Call this method just before you call the StopCatchingErrors method. If you call it AFTER calling StopCatchingErrors, and there is another (parent) catching session running, you will not get the error messages of your (stopped) session, but of the other session that is still running.

Syntax

SELECT RulesEngine.GetLastCaughtErrors()

 

 

See Also

RulesEngine.GetLastCaughtErrorsAsXML

RulesEngine Internal Component

Internal Components