Options
All
  • Public
  • Public/Protected
  • All
Menu

Bundles the resulting object from a REST request, its JSON representation, and any error which occurred during the request into a single object.

Hierarchy

  • RestEndpointResult

Index

Constructors

Properties

Constructors

constructor

  • Initializes a new instance of the RestEndpointResult class.

    Parameters

    • resultObject: any

      The object that represents the results of the REST request.

    • error: Error

      The error.

    Returns RestEndpointResult

Properties

error

error: Error

Any error that occurred.

rawJson

rawJson: any

The JSON representation of the resultObject.

resultObject

resultObject: any

The result object.