Module exceptions (2.24.0)

API documentation for bigtable.data.exceptions module.

Classes

FailedMutationEntryError

FailedMutationEntryError(
    failed_idx: int | None, failed_mutation_entry: RowMutationEntry, cause: Exception
)

Represents a single failed RowMutationEntry in a bulk_mutate_rows request. A collection of FailedMutationEntryErrors will be raised in a MutationsExceptionGroup

FailedQueryShardError

FailedQueryShardError(
    failed_index: int, failed_query: "ReadRowsQuery" | dict[str, Any], cause: Exception
)

Represents an individual failed query in a sharded read rows operation

InvalidChunk

InvalidChunk(message, errors=(), details=(), response=None, error_info=None)

Exception raised to invalid chunk data from back-end.

MutationsExceptionGroup

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

RetryExceptionGroup

RetryExceptionGroup(excs: list[Exception])

Represents one or more exceptions that occur during a retryable operation

ShardedReadRowsExceptionGroup

ShardedReadRowsExceptionGroup(
    excs: list[google.cloud.bigtable.data.exceptions.FailedQueryShardError],
    succeeded: list[google.cloud.bigtable.data.row.Row],
    total_queries: int,
)

Represents one or more exceptions that occur during a sharded read rows operation