diff --git a/src/mapper/error.rs b/src/mapper/error.rs index dfcbabf..f565096 100644 --- a/src/mapper/error.rs +++ b/src/mapper/error.rs @@ -19,10 +19,10 @@ pub enum MapperError { ConfigError, ), - #[error("Failed to execute mapped command: {0}")] + #[error("Failed to execute mapped command")] Command(#[from] CommandError), - #[error("IO Error: {0}")] + #[error("IO operation failed")] Io(#[from] io::Error), #[error("Failed to map directory {src:?}")] diff --git a/src/mapper/mapped_command.rs b/src/mapper/mapped_command.rs index fcf5f4a..4b07a39 100644 --- a/src/mapper/mapped_command.rs +++ b/src/mapper/mapped_command.rs @@ -19,7 +19,7 @@ pub enum CommandError { #[error(transparent)] Io(#[from] io::Error), - #[error("The command {0:?} could not be found")] + #[error("The command {0:?} could not be found for this nodejs version")] NotFound(PathBuf), }