JavaScript Programmer’s Reference Error.number (Property) A property that
JavaScript Programmer’s Reference Error.number (Property) A property that corresponds to the number argument in the constructor function. Availability: JavaScript 1.5 JScript 5.0 Internet Explorer 5.0 Netscape 6.0 Property/method value type: Number primitive JavaScript syntax: -myError.number This is the error number your custom error will be registered under. Unless you change it by assigning a new value to this property, it will contain the value that was passed in the number argument to the constructor function. The number is a 32 bit value consisting of a facility code and an error number. The upper 16 bits is the facility code and the lower 16 bits the error number within that facility. Error.prototype (Property) The prototype for the Error object that can be used to extend the interface for all Error objects. Availability: ECMAScript edition 3 JavaScript 1.5 JScript 5.0 Internet Explorer 5.0 Netscape 6.0 Netscape Enterprise Server 2.0 Opera 3.0 Property/method value type: Error object -Error.prototype JavaScript syntax: -myError.constructor.prototype This is the Error prototype object belonging to the global object and from which all Error objects are descended. The initial value of Error.prototypeis the built-in Error prototype object. The value of the prototype property of an Errorobject is used to initialize child objects when that Error object is used as a constructor. The following properties are inherited from the Error.prototype: . Error.prototype . Error.constructor . Error.name
Note: In case you are looking for affordable webhost to host and run your web application check Vision cheap hosting services