Class: AbstractError

(abstract) AbstractError(name, message)

Provides an abstract base class for error classes. This class is not meant to be instantiated directly but used only by subclasses.

Constructor

(abstract) new AbstractError(name, message)

Constructs an error with a specified name and message.
Parameters:
Name Type Description
name String The error's name.
message String The message.
Source:

Methods

toString() → {String}

Returns the message and stack trace associated with this error.
Source:
Returns:
The message and stack trace associated with this error.
Type
String