[[["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-04-17 UTC."],[[["This document provides a reference for the `CloudTasksLimitedErrorCountRetryPolicy` class, which is part of the Google Cloud Tasks C++ library, specifically version 2.29.0."],["This retry policy is designed for `CloudTasksConnection` and is based on counting the number of errors encountered during RPC calls, ceasing retries after a set number of transient errors or if a non-transient error occurs."],["The class constructors allow you to set the maximum number of transient failures tolerated and are also able to disable retries entirely, by setting `maximum_failures` to 0."],["Transient errors are specifically defined as status codes `kInternal` and `kUnavailable`, and the document outlines methods to check for permanent failures and if the retry loop is exhausted."],["The class also includes a `clone()` method which returns a new instance of the policy, reset to the initial state."]]],[]]