(fault: BridgeFault)
| 68 | } |
| 69 | |
| 70 | export 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 |
nothing calls this directly
no test coverage detected