Monster.Data.Datasource.Server.RestAPI. DataFetchError

Error message for API requests

Constructor

new DataFetchError(message, response)

the error is thrown by the rest api in case of error

Parameters:
NameTypeDescription
messagestring
responseResponse
Since
  • 3.43.0
License
  • AGPLv3

Members

(static) instanceSymbol

This method is called by the instanceof operator.

This method is called by the instanceof operator.

Since
  • 2.1.0

Methods

getResponse() → {Response}

Returns:
Type: 
Response