summaryrefslogtreecommitdiff
path: root/src/errors.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/errors.rs')
-rw-r--r--src/errors.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/errors.rs b/src/errors.rs
index 0652adf..c7febe3 100644
--- a/src/errors.rs
+++ b/src/errors.rs
@@ -29,6 +29,9 @@ pub enum BumperError {
#[error("Cargo.toml doesn't specify a package name")]
UnnamedProject,
+ #[error("Couldn't turn {0} into an absolute path: {1}")]
+ AbsPath(PathBuf, #[source] std::io::Error),
+
#[error("Failed to run git: {0}")]
GitInvoke(#[source] std::io::Error),