Skip to content

RequestError

Aleksandr Rogov edited this page Jul 15, 2023 · 1 revision

Interface: RequestError

Callback with an acquired token called by DynamicsWebApi; "token" argument can be a string or an object with a property {accessToken: }

Hierarchy

  • Error

    RequestError

Table of contents

Properties

Properties

code

Optional code: string

This code is not related to the http status code and is frequently empty


headers

Optional headers: any

HTTP Response headers


innererror

Optional innererror: Object

Details about an error

Type declaration

Name Type Description
message? string A message describing the error, this is frequently the same as the outer message
stacktrace? string Details from the server about where the error occurred
type? string Microsoft.Crm.CrmHttpException

message

message: string

A message describing the error

Overrides

Error.message


name

name: string

The name of the error

Overrides

Error.name


status

Optional status: number

HTTP status code


statusText

Optional statusText: string

HTTP status text. Frequently empty

Clone this wiki locally