%CoGetException interface

Get error description.

Syntax

retcode = %CoGetException(Param1, Param2)

Parameter(s)

Param1 [in] CAutoCTRL handle.
Param2 [out] String buffer for error description.

Returns

>0 = Length of the error message

0 = No error message returned

-1 = Missing buffer for output.

Error Handling

Call CoGetException to get an error description.