(error: SendMessageError)
| 9369 | } |
| 9370 | |
| 9371 | private formatSendMessageError(error: SendMessageError): string { |
| 9372 | return typeof error === "object" && error !== null |
| 9373 | ? "raw" in error && typeof error.raw === "string" |
| 9374 | ? error.raw |
| 9375 | : "message" in error && typeof error.message === "string" |
| 9376 | ? error.message |
| 9377 | : "type" in error && typeof error.type === "string" |
| 9378 | ? error.type |
| 9379 | : JSON.stringify(error) |
| 9380 | : String(error); |
| 9381 | } |
| 9382 | |
| 9383 | private async buildHeartbeatSendOptions(workspaceId: string): Promise<{ |
| 9384 | sendOptions: SendMessageOptions; |
no outgoing calls
no test coverage detected