# Type Alias DetailsErrorResponse

DetailsErrorResponse: { code?: string; message?: string } & Record<string, any>

Representation of the 'DetailsErrorResponse' schema.

#### Type Declaration

- ##### `Optional` code?: string

  Descriptive error code (not http status code)

- ##### `Optional` message?: string

  Plaintext error description

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

- Defined in packages/document-grounding/dist/client/api/schema/details-error-response.d.ts:4