Class
Wraps a runtime error.
Error, toSource, toString
Error
QuickLinks
Properties
Property | Type | Access | Description |
---|---|---|---|
description | string | r/w | The error message. |
Methods
Constructor
Error Error (msg:
string[, file:
string][, line:
number])
Creates a new Error object.
Parameter | Type | Description |
---|---|---|
msg | string | The error message. |
file | string | The name of the file. (Optional) |
line | number | The line number. (Optional) |
Instances
string toSource ()
Creates a string representation of this object that can be fed back to eval() to re-create an object. Works only with built-in classes.
string toString ()
Convert this object to a string.
Element of
$.error
Return
Error Error.Error (msg: string[, file: string][, line: number])
Jongware, 20-Jun-2010 v3.0.3d | Contents :: Index |