|  | This document is archived and information here might be outdated. Recommended version. | 
| ArcObjects namespaces > System > ESRI.ArcGIS.esriSystem > Interfaces > IE > IESRIScriptEngine Interface > IESRIScriptEngine.Error Property (ArcObjects .NET 10.4 SDK) | 
The Error method.
[Visual Basic .NET] Public Sub Error ( _ ByRef pLineNumber As Integer, _ ByRef pCharacterPosition As Integer, _ ByRef pErrorSourceCode As String, _ ByRef pErrorDescription As String _ )
[C#] public void Error ( ref int pLineNumber, ref int pCharacterPosition, ref string pErrorSourceCode, ref string pErrorDescription );
[C++]
HRESULT get_Error(
  long* pLineNumber,
  long* pCharacterPosition,
  BSTR* pErrorSourceCode,
  BSTR* pErrorDescription
);
[C++]
Parameters pLineNumber [in] pLineNumber is a parameter of type long pCharacterPosition [in] pCharacterPosition is a parameter of type long pErrorSourceCode [in] pErrorSourceCode is a parameter of type BSTR pErrorDescription [in] pErrorDescription is a parameter of type BSTR