MCPcopy Create free account
hub / github.com/CodeFox-Repo/codefox / retryMethod

Method retryMethod

backend/src/build-system/retry-handler.ts:74–135  ·  view source on GitHub ↗

* Attempts to retry a failed method based on the type of error encountered. * If the error is retryable, it will retry the method up to MAX_RETRY_COUNT times. * If the error is non-retryable or the maximum retry count is reached, * it will log the appropriate message and throw an error.

(
    error: Error,
    upperMethod: (...args: any[]) => Promise<T>,
    args: any[],
  )

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

invokeNodeHandlerMethod · 0.80

Calls 3

addRetryDelayMethod · 0.95
getMethod · 0.80
setMethod · 0.80

Tested by

no test coverage detected