docs-devsite/ai.customerrordata.md
Project: /docs/reference/js/_project.yaml Book: /docs/reference/_book.yaml page_type: reference
{% comment %} DO NOT EDIT THIS FILE! This is generated by the JS SDK team, and any local changes will be overwritten. Changes should be made in the source code at https://github.com/firebase/firebase-js-sdk {% endcomment %}
Details object that contains data originating from a bad HTTP response.
<b>Signature:</b>
export interface CustomErrorData
| Property | Type | Description |
|---|---|---|
| errorDetails | ErrorDetails<!-- -->[] | Optional additional details about the error. |
| response | GenerateContentResponse | Response from a GenerateContentRequest |
| status | number | HTTP status code of the error response. |
| statusText | string | HTTP status text of the error response. |
Optional additional details about the error.
<b>Signature:</b>
errorDetails?: ErrorDetails[];
Response from a GenerateContentRequest
<b>Signature:</b>
response?: GenerateContentResponse;
HTTP status code of the error response.
<b>Signature:</b>
status?: number;
HTTP status text of the error response.
<b>Signature:</b>
statusText?: string;