Help > Web Development > Object Reference > Object Reference > ISYSResultList > Error Property
<a name="kanchor493"></a>ISYSResultList:Error Property
Return any error information that occurred while the result list was executing. This can include query parsing errors.

Syntax
[VBScript]
ReadOnly property ISYSResultList.Error as ISYSError
[C#]
IISYSError  ISYSResultList.Error {get;}
[ColdFusion/Java]
IISYSError  ISYSResultList.Error() throws ComException;
Examples
[VBScript]
<% ' This sample demonstrates executing a query and checking for any errors that ' may occurred. ' Create the new ISYSSearch object dim ISYSSearch : set ISYSSearch = ISYSEngine.NewSearch ' Specify the Index to Search ISYSSearch.QuerySource = "c:\indexes\documents" ' Specify the Query Text ISYSSearch.QueryText = "Policies" ' Specify the Query Type ISYSSearch.QueryType = isysQueryISYS ' Execute the Search Set Results = ISYSSearch.Execute if (Results.Length = 0) And (Results.Error <> "") then Response.Write "Search Error: " & Results.Error end if %>

See Also