Class ResponseBlockedError (1.51.0)

ResponseBlockedError(
    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.