Class: CommandHandlingError

CommandHandlingError(messagenon-null, error)

An error which occurs when sending off a command to Spine server endpoint.

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

CommandHandlingError

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