(
transport: &mut UnixStreamTransport,
error: &TraceDecayError,
)
| 2066 | |
| 2067 | #[cfg(unix)] |
| 2068 | async fn write_project_open_error( |
| 2069 | transport: &mut UnixStreamTransport, |
| 2070 | error: &TraceDecayError, |
| 2071 | ) -> Result<()> { |
| 2072 | let id = read_json_rpc_request_id(transport).await?; |
| 2073 | let response = JsonRpcResponse::error(id, ErrorCode::InternalError, error.to_string()); |
| 2074 | write_json_rpc_response(transport, &response).await |
| 2075 | } |
| 2076 | |
| 2077 | #[cfg(unix)] |
| 2078 | async fn read_json_rpc_request_id( |
no test coverage detected