Skip to content

node-zendeskDocs


node-zendesk / clients/helpers / checkRequestResponse

Function: checkRequestResponse()

checkRequestResponse(response, result): object

Checks the response and result from a request and returns an error or the result.

Parameters

response: object

The HTTP response object.

result: object

The result data from the request.

Returns

object

  • The result or an error object.

Defined in

clients/helpers.d.ts:39

Released under the MIT License.