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.
The ECMA standard describes this property as Error.message. MSIE supports it as the description property.
Prev | Home | Next |
Error.constructor | Up | Error.message |
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. |