(key: string, value: unknown)
| 272 | } |
| 273 | |
| 274 | function assertPrimitive(key: string, value: unknown): asserts value is TelemetryPrimitive { |
| 275 | if (isTelemetryPrimitive(value)) return; |
| 276 | throw new TypeError(`telemetry ${key} must be primitive`); |
| 277 | } |
| 278 | |
| 279 | function handleStatus(status: number): void { |
| 280 | if (status >= 500 || status === 429) { |
no test coverage detected