(self, request_id: str, result: Any)
| 456 | await self._send_error_response(message["id"], -32603, str(exc), None) |
| 457 | |
| 458 | async def _send_response(self, request_id: str, result: Any): |
| 459 | response = { |
| 460 | "jsonrpc": "2.0", |
| 461 | "id": request_id, |
| 462 | "result": result, |
| 463 | } |
| 464 | await self._send_message(response) |
| 465 | |
| 466 | async def _send_error_response( |
| 467 | self, request_id: str, code: int, message: str, data: dict | None |
no test coverage detected