E Error.name (Property) A human readable textual (Web hosting packages)

E Error.name (Property) A human readable textual description of the custom error is available in this property. You can assign a new value if you wish. Reading the property yields the value that was passed in the description argument to the constructor function unless it has been changed since then. Warnings: . The ECMA standard describes this property as Error.message. Netscape 6.0 claims to be completely compliant and therefore should support this property. . MSIE supports the description property which is functionally identical. Cross-references: ECMA 262 edition 3 section 15.11.4.3 Error.name (Property) The name of an Errorobject can be accessed with this property. myError.name = aString - aString The new name value for the Error object Argument list: The initial value for this property is the string primitive “Error”. The ECMA standard suggests that this property can be assigned with a different name for each instance of the Error object. For native errors that are subclassed from this Error object, the name property will be the name of that object class and will be one of the following: . EvalError . RangeError . ReferenceError . SyntaxError . TypeError . URIError Cross-references: ECMA 262 edition 3 section 15.11.4.2 Availability: ECMAScript edition 3 JavaScript 1.5 JScript 5.5 Internet Explorer 5.5 Netscape 6.0 Property/method value type: String primitive -myError.name JavaScript syntax:
Note: In case you are looking for affordable and reliable webhost to host and run your j2ee application check Vision web design programs services

Leave a Reply