summaryrefslogtreecommitdiff
path: root/src/errors.rs
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2021-04-05 08:48:46 +0000
committerLars Wirzenius <liw@liw.fi>2021-04-05 08:48:46 +0000
commit079357cc06488433afd1feac6ca41d859fbdee00 (patch)
tree9b3e746ba6d523c080f0f40b5c0798f7e9326da5 /src/errors.rs
parent62e5bf8eca44deec7f45bb697ee98298b8abd219 (diff)
parent19cb8fcd22e9d2bc240cbd2b23efa2e19cf7ea52 (diff)
downloadbumper-rs-079357cc06488433afd1feac6ca41d859fbdee00.tar.gz
Merge branch 'cargo-lock-update' into 'main'
feat: update Cargo.lock int Rust projects See merge request larswirzenius/bumper!10
Diffstat (limited to 'src/errors.rs')
-rw-r--r--src/errors.rs6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/errors.rs b/src/errors.rs
index 6ea498d..bd09eba 100644
--- a/src/errors.rs
+++ b/src/errors.rs
@@ -43,4 +43,10 @@ pub enum BumperError {
#[error("dch failed in {0}: {1}")]
Dch(PathBuf, String),
+
+ #[error("Failed to run cargo in {0}: {1}")]
+ CargoInvoke(PathBuf, #[source] std::io::Error),
+
+ #[error("cargo failed in {0}: {1}")]
+ Cargo(PathBuf, String),
}