Retrieves information about an error that occurred while the scripting engine was running a script.
Syntax
HRESULT GetExceptionInfo(
EXCEPINFO *pexcepinfo // structure for exception information
);
Parameters
pexcepinfo
[out] Address of an EXCEPINFO structure that receives error information.
Return Value
Returns S_OK if successful, or E_FAIL if an error occurred.