SAP Cloud SDK for JavaScript - v4.1.1
    Preparing search index...

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

    interface ErrorResponse {
        body: Record<string, any>;
        httpCode: number;
        isError: () => this is ErrorResponse;
        isReadResponse: () => this is ReadResponse<any>;
        isSuccess: () => this is ReadResponse<any> | WriteResponses<any>;
        isWriteResponses: () => this is WriteResponses<any>;
        responseType: "ErrorResponse";
    }

    Hierarchy

    • BatchResponseTypeGuards<any>
      • ErrorResponse
    Index

    Properties

    body: Record<string, any>

    HTTP raw body.

    httpCode: number

    HTTP response status code.

    isError: () => this is ErrorResponse
    isReadResponse: () => this is ReadResponse<any>
    isSuccess: () => this is ReadResponse<any> | WriteResponses<any>
    isWriteResponses: () => this is WriteResponses<any>
    responseType: "ErrorResponse"

    Tag for identifying the type of a batch response.

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