diff options
author | Lars Wirzenius <liw@liw.fi> | 2021-03-30 09:20:29 +0300 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2021-03-30 12:04:20 +0300 |
commit | dc0f531545a255fb4543e0d0697e318efc9cf791 (patch) | |
tree | aab56c799f6ffc4e76fbc6eff180f23918343366 /src/errors.rs | |
parent | e139b4f8f89ebc718947542949f891415c423ef7 (diff) | |
download | bumper-rs-dc0f531545a255fb4543e0d0697e318efc9cf791.tar.gz |
fix: report project name and location when setting version for Rust
Diffstat (limited to 'src/errors.rs')
-rw-r--r-- | src/errors.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/errors.rs b/src/errors.rs index 282b5c5..0652adf 100644 --- a/src/errors.rs +++ b/src/errors.rs @@ -26,6 +26,9 @@ pub enum BumperError { #[error("'project' in Cargo.toml is not a table")] ProjectNotTable, + #[error("Cargo.toml doesn't specify a package name")] + UnnamedProject, + #[error("Failed to run git: {0}")] GitInvoke(#[source] std::io::Error), |