#include <IScriptError.h>
|
| enum | { kDefaultIID = IID_ISCRIPTERROR } |
| |
Used to pass error info related to a scripting request from the script request handler back to the client (
- See Also
- IScriptRequestHandler). This interface should not be used by script providers (
- ScriptReturnData instead).
| virtual void IScriptError::CopyErrorInfoInto | ( | IScriptError * | target | ) | const |
| pure virtual |
| virtual ErrorCode IScriptError::GetErrorCode | ( | | ) | const |
| pure virtual |
| virtual PMString IScriptError::GetErrorString | ( | | ) | const |
| pure virtual |
Retrieve the error string. Looks it up using error string services if none has been set explicitly.
- Returns
- the error string
| virtual void IScriptError::Reset | ( | | ) | |
| pure virtual |
| virtual void IScriptError::SetErrorCode | ( | ErrorCode | err | ) | |
| pure virtual |
Set the error code (assumes default error string)
- Parameters
| virtual void IScriptError::SetErrorCode | ( | ErrorCode | err, | | | const PMString & | errorString | | ) | | |
| pure virtual |
Set the error code with an explicit error string
- Parameters
| err | is the error code |
| errorString | is the error string |