MCPcopy Create free account
hub / github.com/TeleBoxOrg/TeleBox_Plugins / handle404Error

Function handle404Error

zpr/zpr.ts:309–312  ·  view source on GitHub ↗
(proxyHost: string, failedProxies: string[])

Source from the content-addressed store, hash-verified

307 return true; // 表示遇到404错误
308};
309
310// 辅助函数:检查是否为超时错误
311const isTimeoutError = (error: any): boolean => {
312 return error.code === 'ECONNABORTED' ||
313 error.message?.includes('timeout') ||
314 error.message?.includes('canceled') ||
315 error.message?.includes('cancelled') ||

Callers 1

downloadSingleImageFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected