Share via


IActiveScriptSite::OnScriptError

Informs the host that an execution error occurred while the engine was running the script.

Syntax

HRESULT OnScriptError(  
    IActiveScriptError *pase  // address of error interface  
);  

Parameters

pase
[in] Address of the error object's IActiveScriptError interface. A host can use this interface to obtain information about the execution error.

Return Value

Returns S_OK if the error was correctly handled, or an OLE defined error code otherwise.

See also

IActiveScriptSite