Constructor
new SpineError(messagenon-null, causeopt)
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
message |
string | the human-readable error message | |
cause |
* |
<optional> |
the reason why this error occurred |
- Source:
Extends
- Error
Classes
Methods
getCause() → {*|undefined}
- Source:
Returns:
The cause of this error, if available.
- Type
- * | undefined