Skip to content

Latest commit

 

History

History
67 lines (47 loc) · 2.04 KB

vertexai.vertexaierror.md

File metadata and controls

67 lines (47 loc) · 2.04 KB

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 %}

VertexAIError class

Error class for the Vertex AI in Firebase SDK.

Signature:

export declare class VertexAIError extends FirebaseError 

Extends: FirebaseError

Constructors

Constructor Modifiers Description
(constructor)(code, message, customErrorData) Constructs a new instance of the VertexAIError class.

Properties

Property Modifiers Type Description
code VertexAIErrorCode
customErrorData CustomErrorData | undefined

VertexAIError.(constructor)

Constructs a new instance of the VertexAIError class.

Signature:

constructor(code: VertexAIErrorCode, message: string, customErrorData?: CustomErrorData | undefined);

Parameters

Parameter Type Description
code VertexAIErrorCode The error code from VertexAIErrorCode.
message string A human-readable message describing the error.
customErrorData CustomErrorData | undefined Optional error data.

VertexAIError.code

Signature:

readonly code: VertexAIErrorCode;

VertexAIError.customErrorData

Signature:

readonly customErrorData?: CustomErrorData | undefined;