A multi-row mutation returns the list of operations that failed, this class encapsulates both the failure and the original mutation. The application can then choose to resend the mutation, or log it, or save it for processing via some other means.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-03-14 UTC."],[[["This document outlines the `FailedMutation` class, which is used to encapsulate both a failure and the original `SingleRowMutation` that caused it."],["The class provides constructors for creating `FailedMutation` objects using `google::cloud::Status` or `google::rpc::Status`, along with an index."],["It includes move and copy constructors, as well as assignment operators, to support object manipulation."],["The `status()` function is provided as an accessor to return the error `status` associated with the failure."],["The `original_index()` function is provided as an accessor to return an `int` representing the index of the original mutation that failed."]]],[]]