Core JavaScriptExtendScript only
Object

Error

Wraps a runtime error.

Properties

NameType AccessDescription
String read/write The error message.

Methods

Error

Creates a new Error object.

msg String The error message.
file? String The name of the file.
line? Number The line number.
String

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

Convert this object to a string.

Object of 1

Properties elsewhere that hold a Error.

Return 1

Methods that return a Error.