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.
Prev | Home | Next |
Error.name | Up | Error.prototype |
JavaScript Programmer's Reference, Cliff Wootton Wrox Press (www.wrox.com) Join the Wrox JavaScript forum at p2p.wrox.com Please report problems to support@wrox.com © 2001 Wrox Press. All Rights Reserved. Terms and conditions. |