MCPcopy Index your code
hub / github.com/callstack/agent-device / isRetryableUploadStreamError

Function isRetryableUploadStreamError

src/upload-stream.ts:50–52  ·  view source on GitHub ↗
(error: unknown)

Source from the content-addressed store, hash-verified

48}
49
50export function isRetryableUploadStreamError(error: unknown): boolean {
51 return error instanceof AppError && error.details?.[UPLOAD_STREAM_RETRYABLE_DETAIL] === true;
52}
53
54async function streamFileToHttpRequestAttempt(options: {
55 url: URL;

Callers 1

shouldRetryDirectUploadFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected