Class: SpineError

SpineError(messagenon-null, causeopt)

The base error type of Spine Web. This error type is only used directly when a more appropriate category is not defined for the offending error.

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

SpineError

Methods

getCause() → {*|undefined}

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