Class GoogleGenerativeAIError (0.2.1)

GoogleGenerativeAIError is thrown when http response is not ok and status code is not 4XX For details please refer to https://developer.mozilla.org/en-US/docs/Web/HTTP/Status

Inheritance

Error > GoogleGenerativeAIError

Package

@google-cloud/vertexai

Constructors

(constructor)(message, stack_trace)

  constructor 
 ( 
 message 
 : 
  
 string 
 , 
  
 stack_trace 
 ?: 
  
 any 
 ); 
 

Constructs a new instance of the GoogleGenerativeAIError class

Parameters
Name
Description
message
string
stack_trace
any

Properties

stack_trace

  readonly 
  
 stack_trace 
 : 
  
 any 
 ; 
 
Create a Mobile Website
View Site in Mobile | Classic
Share by: