Class ClientError (1.3.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?: any);

Constructs a new instance of the ClientError class

Parameters
Name Description
message string
stackTrace any

Properties

stackTrace

readonly stackTrace: any;