Represents an erroneous response to a retrieve or change set request within a batch request.

Hierarchy

  • BatchResponseTypeGuards<any>
    • ErrorResponse

Properties

body: Record<string, any>

HTTP raw body.

httpCode: number

HTTP response status code.

isError: (() => this is ErrorResponse)

Type declaration

isReadResponse: (() => this is ReadResponse<any>)

Type declaration

isSuccess: (() => this is ReadResponse<any> | WriteResponses<any>)

Type declaration

isWriteResponses: (() => this is WriteResponses<any>)

Type declaration

responseType: "ErrorResponse"

Tag for identifying the type of a batch response.

Copyright Ⓒ 2023 SAP SE or an SAP affiliate company. All rights reserved.