Constructor
new CommandHandlingError(messagenon-null, error)
Parameters:
Name | Type | Description |
---|---|---|
message |
string | the human-readable error message |
error |
Error | SpineError | SpineBaseError | the reason why this error occurred |
- Source:
Extends
Classes
Methods
assuresCommandNeglected() → {boolean}
Returns `true` if the command wasn't accepted by the server; returns `false`
if this is not guaranteed.
A command is assumed neglected if this error is caused by the `ClientError`
or the `SpineBaseError`.
- Source:
Returns:
- Type
- boolean
getCause() → {*|undefined}
- Overrides:
- Source:
Returns:
The cause of this error, if available.
- Type
- * | undefined