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

Methods

getResponse() → {Response}

Returns:
Type: 
Response

getValidation() → {Object}

Returns:
Type: 
Object