pub async fn guard_async_result<F, R, E>(
handler_name: &'static str,
fut: F,
) -> Result<R, E>Expand description
Run fut that returns Result<R, E> with panic isolation. On panic,
log and return Ok(R::default()) so the LSP client gets a graceful
empty response (typically null / empty list) instead of seeing the
connection closed.