diff options
author | Lars Wirzenius <liw@liw.fi> | 2021-04-13 08:39:17 +0000 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2021-04-13 08:39:17 +0000 |
commit | 50258196ee8832ca8d9f02e73babb431248ed025 (patch) | |
tree | 3b39dba244bd13a39abaca5b22d4574983323f3c /src/errors.rs | |
parent | a7cbaaa9be2dfc5e4fcdaf342dba98c923a99ab4 (diff) | |
parent | 297521aab3d48f12b09d1b3071c1e13ed7cafdb4 (diff) | |
download | bumper-rs-50258196ee8832ca8d9f02e73babb431248ed025.tar.gz |
Merge branch 'python' into 'main'
Python support
Closes #2
See merge request larswirzenius/bumper!17
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 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), } |