# IError

Description:

`IError` represents an error message from the server.
```cpp
import "OxSvrSpt.idl"
```
Properties:
```cpp
long FaultCode [get]
BSTR SourceName [get]
long SourceCode [get]
BSTR FaultString [get]
BSTR InfoList [get]
```
Documentation of Properties:

* `long FaultCode [get]`

`FaultCode` returns the error code.

Parameters:

: `pVal` (VB return value) error description

* `BSTR SourceName [get]`

`SourceName` returns the name of the source where the error occurred.

Parameters:

: `pVal` (VB return value) source identifier

* `long SourceCode [get]`

`SourceCode` returns the source code line where the error occurred.

Parameters:

: `pVal` (VB return value) source identifier

* `BSTR FaultString [get]`

`FaultString` returns the error description.

Parameters:

: `pVal` (VB return value) error description

* `BSTR InfoList [get]`
 InfoList

Parameters:

: `pVal` (VB return value) InfoList
