Link:http://output.to/sideway/default.asp?qno=180500012 Script, Scripting Language, VBScript elements, Server-Side VBScript Object Element Err Method
VBScript Methods of Err ObjectSome typical predefined Elements are.
Clear Methodlast updated 12/10/2017is to clear all property settings of the Err object. SyntaxErr.Clear ArgumentErr.ClearRequired Keywords. The keywords used to specify the Clear Method of the Err Object.Remarks
Requirement1Applied toErr ObjectRaise Methodlast updated 12/10/2017is to generate a run-time error result of the given number and together with other specifed optional source, description, helpfile, helpcontext in the Err Object. SyntaxErr.Raise(number[, source, description, helpfile, helpcontext]) ArgumentErr.RaiseRequired Keywords. The keywords used to specify the Raise Method of the Err Object. numberRequired. A Long integer subtype that identifies the nature of the error. VBScript errors (both VBScript-defined and user-defined errors) are in the range 0–65535.sourceOptional. A string expression naming the object or application that originally generated the error. When setting this property for an Automation object, use the form project.class. If nothing is specified, the programmatic ID of the current VBScript project is used.descriptionOptional. A string expression describing the error. If unspecified, the value in number is examined. If it can be mapped to a VBScript run-time error code, a string provided by VBScript is used as description. If there is no VBScript error corresponding to number, a generic error message is used.helpfileOptional. The fully qualified path to the Help file in which help on this error can be found. If unspecified, VBScript uses the fully qualified drive, path, and file name of the VBScript Help file.helpcontextOptional. The context ID identifying a topic within helpfile that provides help for the error. If omitted, the VBScript Help file context ID for the error corresponding to the number property is used, if it exists.Remarks
Requirement1Applied toErr Object |
Sideway BICK Blog 12/05 |