Error

Description

Wraps a runtime error.

Properties

description readonly The error message.

Constructors

Error readonly Creates a new Error object.

Methods

toSource readonly 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.
toString readonly Convert this object to a string.