diff options
author | Michael Davis | 2024-01-23 18:36:53 +0000 |
---|---|---|
committer | Blaž Hrastnik | 2024-01-24 06:47:49 +0000 |
commit | cb25d13028ec1cdf986a3567ea52562ea654a7b8 (patch) | |
tree | a820e7dbceebe37fbfb3897429747ba8bfeb524b /helix-dap/src/lib.rs | |
parent | 6d724a8f331f4b2a8f1a001e990cf6129dc50b00 (diff) |
Improve error handling for `which::which` failures
Co-authored-by: Pascal Kuthe <pascalkuthe@pm.me>
Diffstat (limited to 'helix-dap/src/lib.rs')
-rw-r--r-- | helix-dap/src/lib.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/helix-dap/src/lib.rs b/helix-dap/src/lib.rs index 21162cb8..d0229249 100644 --- a/helix-dap/src/lib.rs +++ b/helix-dap/src/lib.rs @@ -19,6 +19,8 @@ pub enum Error { #[error("server closed the stream")] StreamClosed, #[error(transparent)] + ExecutableNotFound(#[from] helix_stdx::env::ExecutableNotFoundError), + #[error(transparent)] Other(#[from] anyhow::Error), } pub type Result<T> = core::result::Result<T, Error>; |