Class ClientError (1.9.0)

ClientError is thrown when http 4XX status is received. For details please refer to https://developer.mozilla.org/en-US/docs/Web/HTTP/Status#client_error_responses

Inheritance

Error > ClientError

Package

@google-cloud/vertexai

Constructors

(constructor)(message, stackTrace)

  constructor 
 ( 
 message 
 : 
  
 string 
 , 
  
 stackTrace 
 ?: 
  
 Error 
 ); 
 

Constructs a new instance of the ClientError class

Parameters
Name
Description
message
string
stackTrace
Error

Properties

stackTrace

  readonly 
  
 stackTrace 
 ?: 
  
 Error 
 ; 
 
Create a Mobile Website
View Site in Mobile | Classic
Share by: