MCPcopy Create free account
hub / github.com/codeaashu/claude-code / injectBridgeFault

Function injectBridgeFault

src/bridge/bridgeDebug.ts:70–75  ·  view source on GitHub ↗
(fault: BridgeFault)

Source from the content-addressed store, hash-verified

68}
69
70export function injectBridgeFault(fault: BridgeFault): void {
71 faultQueue.push(fault)
72 logForDebugging(
73 `[bridge:debug] Queued fault: ${fault.method} ${fault.kind}/${fault.status}${fault.errorType ? `/${fault.errorType}` : ''} ×${fault.count}`,
74 )
75}
76
77/**
78 * Wrap a BridgeApiClient so each call first checks the fault queue. If a

Callers

nothing calls this directly

Calls 2

logForDebuggingFunction · 0.85
pushMethod · 0.45

Tested by

no test coverage detected