mirror of
https://github.com/hanzoai/firebase-js-sdk.git
synced 2026-09-24 16:59:10 +00:00
1.8 KiB
1.8 KiB
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 %}
CustomErrorData interface
Details object that contains data originating from a bad HTTP response.
Signature:
export interface CustomErrorData
Properties
| 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. |
CustomErrorData.errorDetails
Optional additional details about the error.
Signature:
errorDetails?: ErrorDetails[];
CustomErrorData.response
Response from a GenerateContentRequest
Signature:
response?: GenerateContentResponse;
CustomErrorData.status
HTTP status code of the error response.
Signature:
status?: number;
CustomErrorData.statusText
HTTP status text of the error response.
Signature:
statusText?: string;