Error Class Reference
[ECMAScript/QtScript - Native Objects]

ECMAScript error constructor property. More...

Inheritance diagram for Error:

Object NativeError EvalError RangeError ReferenceError SyntaxError TypeError URIError List of all members.

Properties (QtScript Extensions)

Array backtrace
String fileName
String lineNumber
Array stack

Properties

String message
String name

Methods

String toString ()

Detailed Description

ECMAScript error constructor property.

The base object for Errors reported by the script interpreter. This object can also be used in script to create user-generated errors.


Member Function Documentation

String Error::toString (  ) 

Returns:
A string representation of the Error.

Reimplemented from Object.


Member Data Documentation

Array Error::backtrace

An array of strings that contain a human-readable backtrace for the error.

String Error::fileName

The name of the script file the error occurred in, if available.

String Error::lineNumber

The line number that the error occurred on.

String Error::message

A string describing the error.

String Error::name

The name of the error. By default, it is "Error".

Array Error::stack

An array of stack trace objects. Each object in the array has the following properties:


Generated on Thu Sep 24 12:21:16 2009

Copyright © 2002 - 2009 DAZ 3D, Inc.