#include <xsi_status.h>
This class extends the CStatus object with additional error details if a Script Error has occured.
Public Member Functions |
|
CScriptErrorDescriptor (CStatus::Code in_code=OK) | |
CScriptErrorDescriptor (LONG in_code) | |
CString | GetDescription () const |
ULONG | GetErrorLineNumber () const |
CScriptErrorDescriptor | ( | CStatus::Code | in_code = OK |
) |
Constructs a CScriptErrorDescriptor based on one of the CStatus::Code values.
in_code | Error code to set |
CScriptErrorDescriptor | ( | LONG | in_code | ) |
Constructs a CScriptErrorDescriptor
in_code | Error number to set |
CString GetDescription | ( | ) | const |
ULONG GetErrorLineNumber | ( | ) | const |
Get the line number within the script that caused the script error. It will return 0 if no script error occurred.