Click or drag to resize

Error Class

An Error object provides access to a the scripting error information.
Inheritance Hierarchy
SystemObject
  WinWrap.Basic.ServerError

Namespace: WinWrap.Basic.Server
Assembly: WinWrap.Basic.Server (in WinWrap.Basic.Server.dll)
Syntax
public class Error : IError

The Error type exposes the following members.

Properties
 NameDescription
Public propertyCode exampleDescription Gets the description of the syntax or execution error.
Public propertyCode exampleException Get the syntax or execution error as an exception.
Public propertyCode exampleFile Gets the filepath of the macro/module which caused a syntax or execution error.
Public propertyCode exampleHelpContext Gets the help's filepath for the syntax or execution error.
Public propertyCode exampleHelpFile Gets the help's context number for the syntax or execution error.
Public propertyCode exampleInnerException Get the exception that caused the error.
Public propertyCode exampleLine Gets the line number of the file which caused the syntax or execution error.
Public propertyCode exampleNumber Gets the error number for the syntax or execution error.
Public propertyCode exampleOffset Gets the offset into the line which contains the syntax or execution error.
Public propertyCode exampleSource Gets the source of the syntax or execution error.
Public propertyCode exampleText Gets the textual description of the syntax or execution error.
Public propertyCode exampleVisibleLine Gets the line number of the file which caused the syntax or execution error.
Top
Methods
 NameDescription
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Public methodStatic memberCode exampleFromException Gets the error associated with the exception or creates one.
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Top
Remarks
The error object represents the error information at the time when it was returned by the Error property.
See Also