Constructor
new ArgumentError(message)
Constructs an argument error with a specified message.
Parameters:
Name | Type | Description |
---|---|---|
message |
String | The message. |
- Source:
Extends
Methods
toString() → {String}
Returns the message and stack trace associated with this error.
- Inherited From:
- Source:
Returns:
The message and stack trace associated with this error.
- Type
- String