Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • Error
    • BatchRequestError

Index

Constructors

Properties

Methods

Constructors

constructor

  • example
    new BatchRequestError({
    request: {
    method: 'POST',
    relativeUrl: 'me/messages',
    body: {
    messagingType: 'UPDATE',
    recipient: 'PSID',
    message: { text: 'Hello World' },
    },
    },
    response: {
    code: 403,
    body: {
    error: {
    type: 'OAuthException',
    message: 'Invalid parameter',
    code: 100,
    },
    }
    },
    })

    Parameters

    Returns BatchRequestError

Properties

Readonly request

request: BatchRequest

The request of the batch error.

Readonly response

response: BatchResponse<JsonObject>

The response of the batch error.

Methods

inspect

  • inspect(): string

Generated using TypeDoc