Monster.Data.Datasource.Server.RestAPI. WriteError

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

Constructor

new WriteError(message, response, validation)

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

Parameters:
NameTypeDescription
messagestring
responseResponse
validationObject
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