Class: ClientError

ClientError(messagenon-null, causeopt)

An error which occurs when sending off a request to Spine server endpoint results with a response with `4xx` status code.

Constructor

new ClientError(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

Classes

ClientError

Methods

getCause() → {*|undefined}

Overrides:
Source:
Returns:
The cause of this error, if available.
Type
* | undefined