/*
 * Copyright (c) 2023 SAP SE or an SAP affiliate company. All rights reserved.
 *
 * This is a generated file powered by the SAP Cloud SDK for JavaScript.
 */
import type { DetailsErrorResponse } from './details-error-response';
/**
 * Representation of the 'ApiError2' schema.
 */
export type ApiError2 =
  | {
      /**
       * Descriptive error code (not http status code).
       */
      code: string;
      /**
       * plaintext error description
       */
      message: string;
      /**
       * id of individual request
       */
      requestId?: string;
      /**
       * url that has been called
       */
      target?: string;
      details?: DetailsErrorResponse[];
    }
  | Record<string, any>;
