Wraps a runtime error.
Go to Property Listing | Method Listing
Property |
Type |
Access |
Description |
---|---|---|---|
read/write |
The error message. |
Constructor
Error Error (msg:String, [file:String], [line:Number])
Creates a new Error object.
Parameter |
Type |
Description |
---|---|---|
msg |
The error message. |
|
file |
The name of the file. |
|
line |
The line number. |
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.
$.error