withDocKey

Returns this error named with the given docKey. The change knows which operation failed but not which document it belongs to, so the document adds its key as the error passes through (Document.applyChanges's outer catch).