pub enum BumpExecError {
Edit(BumpEditError),
Fs {
path: PathBuf,
source: Error,
},
MemberManifestNotFound {
package: String,
},
LockRefresh(String),
Hook {
status: String,
stderr: String,
},
HookViolatedVersion {
expected: String,
found: String,
},
Git(String),
}Expand description
Why the cut-time bump could not be applied. Every variant is a fail-closed refusal before the build barrier — no publish or tag has happened.
Variants§
Edit(BumpEditError)
A pure edit transform refused (missing workspace version, a non-matching or
ambiguous pin, or an absent ## [Unreleased] section).
Fs
A manifest/CHANGELOG file could not be read or written in the checkout.
MemberManifestNotFound
A pin rewrite named a workspace member whose manifest could not be located in
the checkout (a package the workspace graph resolved but whose directory the
executor could not map). Fail closed rather than skip a sealed pin.
LockRefresh(String)
cargo update --workspace (the lockfile refresh) failed.
Hook
The declared bump_hook exited non-zero.
HookViolatedVersion
The bump_hook altered the workspace version away from the bumped value — a
contract violation (the hook may regenerate derived artifacts, not re-version).
Fields
Git(String)
A git step (add / commit / rev-parse / push) failed.
Trait Implementations§
Source§impl Debug for BumpExecError
impl Debug for BumpExecError
Source§impl Display for BumpExecError
impl Display for BumpExecError
Source§impl Error for BumpExecError
impl Error for BumpExecError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
use the Display impl or to_string()