Microsoft® Visual Basic® Scripting Edition Err Object |
| Language Reference |
|
Contains information about run-time errors. Accepts the Raise and Clear methods for generating and clearing run-time errors.
Err[.{property | method}]
The properties of the Err object are set by the generator of an error Visual Basic, an Automation object, or the VBScript programmer.The default property of the Err object is Number. Err.Number contains an integer and can be used by an Automation object to return an SCODE.
When a run-time error occurs, the properties of the Err object are filled with information that uniquely identifies the error and information that can be used to handle it. To generate a run-time error in your code, use the Raise method.
The Err object's properties are reset to zero or zero-length strings ("") after an On Error Resume Next statement and after an Exit Sub or Exit Function statement within an error-handling routine. The Clear method can be used to explicitly reset Err.
The Err object is an intrinsic object with global scope there is no need to create an instance of it in your code.
err.Description provides a human readable error message. +
file: /Techref/language/asp/vbs/vbscript/281.htm, 2KB, , updated: 2014/10/20 11:01, local time: 2024/10/10 23:38,
18.207.255.67:LOG IN ©2024 PLEASE DON'T RIP! THIS SITE CLOSES OCT 28, 2024 SO LONG AND THANKS FOR ALL THE FISH!
|
©2024 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions? <A HREF="http://piclist.com/techref/language/asp/vbs/vbscript/281.htm"> Microsoft® Visual Basic® Scripting Edition </A> |
Did you find what you needed? |
PICList 2024 contributors:
o List host: MIT, Site host massmind.org, Top posters @none found - Page Editors: James Newton, David Cary, and YOU! * Roman Black of Black Robotics donates from sales of Linistep stepper controller kits. * Ashley Roll of Digital Nemesis donates from sales of RCL-1 RS232 to TTL converters. * Monthly Subscribers: Gregg Rew. on-going support is MOST appreciated! * Contributors: Richard Seriani, Sr. |
Welcome to piclist.com! |
.