Using the Error ObjectAn Error object is usually passed to you in a catch statement (unless, for example, you throw the exception yourself and don't use an Error object). Table 3.18 lists the properties of this object. Table 3.18. Properties of the Error Object
Using these properties, you have access to a great deal of information about the error that occurred. |