Class MutationsExceptionGroup (2.26.0)

MutationsExceptionGroup(
    excs: list[Exception], total_entries: int, message: typing.Optional[str] = None
)

Represents one or more exceptions that occur during a bulk mutation operation

Exceptions will typically be of type FailedMutationEntryError, but other exceptions may be included if they are raised during the mutation operation

Methods

__new__

__new__(
    cls, excs: list[Exception], total_entries: int, message: typing.Optional[str] = None
)
Returns
Type Description
MutationsExceptionGroup the new instance

from_truncated_lists

from_truncated_lists(
    first_list: list[Exception],
    last_list: list[Exception],
    total_excs: int,
    entry_count: int,
) -> google.cloud.bigtable.data.exceptions.MutationsExceptionGroup

Create a MutationsExceptionGroup from two lists of exceptions, representing a larger set that has been truncated. The MutationsExceptionGroup will contain the union of the two lists as sub-exceptions, and the error message describe the number of exceptions that were truncated.

Returns
Type Description
MutationsExceptionGroup the new instance