MCPcopy Create free account
hub / github.com/continuedev/continue / isServerError

Function isServerError

extensions/cli/src/util/exponentialBackoff.ts:58–60  ·  view source on GitHub ↗

* Checks if the error type indicates a server issue

(error: any)

Source from the content-addressed store, hash-verified

56 * Checks if the error type indicates a server issue
57 */
58function isServerError(error: any): boolean {
59 return error.type === "server_error" || error.type === "rate_limit_exceeded";
60}
61
62/**
63 * Checks if the error message indicates a connection issue

Callers 1

isRetryableErrorFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected