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