summaryrefslogtreecommitdiff
path: root/src/errors.rs
diff options
context:
space:
mode:
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 bd09eba..97ed8d8 100644
--- a/src/errors.rs
+++ b/src/errors.rs
@@ -49,4 +49,10 @@ pub enum BumperError {
#[error("cargo failed in {0}: {1}")]
Cargo(PathBuf, String),
+
+ #[error("can't find any version.py files in Python project at {0}")]
+ NoVersionPy(PathBuf),
+
+ #[error("couldn't write Python version to {0}: {1}")]
+ PythonWrite(PathBuf, std::io::Error),
}