Change error messages

feature/lookup-installed
trivernis 2 years ago
parent 9fc7d4de49
commit a462d58175
Signed by: Trivernis
GPG Key ID: DFFFCC2C7A02DB45

@ -19,10 +19,10 @@ pub enum MapperError {
ConfigError, ConfigError,
), ),
#[error("Failed to execute mapped command: {0}")] #[error("Failed to execute mapped command")]
Command(#[from] CommandError), Command(#[from] CommandError),
#[error("IO Error: {0}")] #[error("IO operation failed")]
Io(#[from] io::Error), Io(#[from] io::Error),
#[error("Failed to map directory {src:?}")] #[error("Failed to map directory {src:?}")]

@ -19,7 +19,7 @@ pub enum CommandError {
#[error(transparent)] #[error(transparent)]
Io(#[from] io::Error), 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), NotFound(PathBuf),
} }

Loading…
Cancel
Save