diff options
Diffstat (limited to 'src/errors.rs')
-rw-r--r-- | src/errors.rs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/errors.rs b/src/errors.rs index 282b5c5..c7febe3 100644 --- a/src/errors.rs +++ b/src/errors.rs @@ -26,6 +26,12 @@ pub enum BumperError { #[error("'project' in Cargo.toml is not a table")] ProjectNotTable, + #[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), |