Class ResponseValidationError (1.55.0)

ResponseValidationError(
    message: str,
    request_contents: typing.List[
        vertexai.generative_models._generative_models.Content
    ],
    responses: typing.List[
        vertexai.generative_models._generative_models.GenerationResponse
    ],
)

Common base class for all non-exit exceptions.

Methods

with_traceback

Exception.with_traceback(tb) -- set self.traceback to tb and return self.