Adobe InDesign CS5.5 Server (7.5) Object Model JS: Error

InDesign Server CS5.5

Class

Error

 Wraps a runtime error.

QuickLinks

Error, toSource, toString

Properties

PropertyTypeAccessDescription
descriptionstring r/wThe error message.

Methods

Constructor

Error Error (msg: string[, file: string][, line: number])
Creates a new Error object.

ParameterTypeDescription
msgstringThe error message.
filestringThe name of the file. (Optional)
linenumberThe 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, 28-Apr-2012 v3.0.3iContents :: Index