Monster.Data.Datasource.RestAPI. WriteError

Error message for API requests with extension of request and validation.

Constructor

new WriteError(message, response)

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

Parameters:
NameTypeDescription
messagestring
responseResponse
Since
  • 1.24.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

getValidation() → {Object}

Returns:
Type: 
Object