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 > GoogleGenerativeAIErrorPackage
@google-cloud/vertexaiConstructors
(constructor)(message, stackTrace)
constructor(message: string, stackTrace?: Error);Constructs a new instance of the GoogleGenerativeAIError class
| Parameters | |
|---|---|
| Name | Description |
message |
string
|
stackTrace |
Error
|
Properties
stackTrace
readonly stackTrace?: Error;