MCPcopy Create free account
hub / github.com/anus-dev/ANUS / shouldRetry

Function shouldRetry

packages/core/src/utils/retry.test.ts:105–105  ·  view source on GitHub ↗
(error: Error)

Source from the content-addressed store, hash-verified

103 throw new NonRetryableError('Non-retryable error');
104 });
105 const shouldRetry = (error: Error) => !(error instanceof NonRetryableError);
106
107 const promise = retryWithBackoff(mockFn, {
108 shouldRetry,

Callers 1

retryWithBackoffFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected