MCPcopy Create free account
hub / github.com/cli/cli / transient

Method transient

evals/src/core/github.ts:51–53  ·  view source on GitHub ↗

Whether an API error is transient for this route beyond the generic idempotent-retry rule. Subclasses add * rules for APIs that document extra retryable responses.

(_method: string, _path: string, _status: number)

Source from the content-addressed store, hash-verified

49 /** Whether an API error is transient for this route beyond the generic idempotent-retry rule. Subclasses add
50 * rules for APIs that document extra retryable responses. */
51 protected transient(_method: string, _path: string, _status: number): boolean {
52 return false;
53 }
54
55 /** Sends a request like `api` and also returns the relative path of the next page from the Link header. */
56 protected async page<T>(method: string, path: string, body?: unknown): Promise<{ body: T; next?: string }> {

Callers 1

pageMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected