Partager via


IActiveScriptError

An object implementing this interface is passed to the IActiveScriptSite::OnScriptError method whenever the scripting engine encounters an unhandled error. The host then calls methods on this object to obtain information about the error that occurred.

Methods in Vtable Order

Method Description
IActiveScriptError::GetExceptionInfo Retrieves information about an error.
IActiveScriptError::GetSourcePosition Retrieves the location in the source code where an error occurred.
IActiveScriptError::GetSourceLineText Retrieves the line in the source file where an error occurred.

See also

Active Script Interfaces