diff options
author | Lars Wirzenius <liw@liw.fi> | 2021-04-13 10:46:37 +0300 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2021-04-13 11:30:12 +0300 |
commit | ecdbc0b100cc50adffb1262ab485837d5dd2f709 (patch) | |
tree | f24f0c74a0ba8e5b85ab2e46f009e9ff4be9a66f /src/errors.rs | |
parent | a7cbaaa9be2dfc5e4fcdaf342dba98c923a99ab4 (diff) | |
download | bumper-rs-ecdbc0b100cc50adffb1262ab485837d5dd2f709.tar.gz |
feat: support Python projects
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), } |