Report unrecoverable errors in a partially completed mutation.
Constructors
PermanentMutationFailure(char const *, std::vector< FailedMutation >)
Parameters | |
---|---|
Name | Description |
msg |
char const *
|
failures |
std::vector< FailedMutation >
|
PermanentMutationFailure(char const *, grpc::Status, std::vector< FailedMutation >)
Parameters | |
---|---|
Name | Description |
msg |
char const *
|
status |
grpc::Status
|
failures |
std::vector< FailedMutation >
|
Functions
failures() const
The details of each mutation failure.
Because BulkApply() and Apply() take ownership of the data in the mutations the failures are returned with their full contents, in case the application wants to take further action with them. Any successful mutations are discarded.
Any mutations that fail with an unknown state are included with a grpc::StatusCode::OK
.
Returns | |
---|---|
Type | Description |
std::vector< FailedMutation > const & |
status() const
The grpc::Status
of the request.
Notice that it can return grpc::Status::OK
when there are partial failures in a BulkApply()
operation.
Returns | |
---|---|
Type | Description |
grpc::Status const & |