Class ClientError (0.5.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, stack_trace)

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

Constructs a new instance of the ClientError class

Parameters
Name Description
message string
stack_trace any

Properties

stack_trace

readonly stack_trace: any;