pub enum BuildPhaseError {
WrongPhase {
expected: MergePhase,
actual: MergePhase,
},
State(MergeStateError),
Config(ConfigError),
Collect(CollectError),
Resolve(ResolveError),
Build(BuildError),
ReadBase {
path: PathBuf,
detail: String,
},
Driver(String),
}Expand description
Errors that can occur during the BUILD phase.
Variants§
WrongPhase
The merge-state file is not in the expected phase.
State(MergeStateError)
Merge-state I/O or serialization error.
Config(ConfigError)
Repository config load/parse failure.
Collect(CollectError)
Workspace snapshot collection failed.
Resolve(ResolveError)
Path resolution (hash equality / diff3) failed.
Build(BuildError)
Git tree/commit construction failed.
ReadBase
Failed to read base file content from the epoch tree.
Driver(String)
Merge driver error (invalid config, unsupported shape, or failed command).
Trait Implementations§
Source§impl Debug for BuildPhaseError
impl Debug for BuildPhaseError
Source§impl Display for BuildPhaseError
impl Display for BuildPhaseError
Source§impl Error for BuildPhaseError
impl Error for BuildPhaseError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Source§impl From<BuildError> for BuildPhaseError
impl From<BuildError> for BuildPhaseError
Source§fn from(e: BuildError) -> Self
fn from(e: BuildError) -> Self
Converts to this type from the input type.
Source§impl From<CollectError> for BuildPhaseError
impl From<CollectError> for BuildPhaseError
Source§fn from(e: CollectError) -> Self
fn from(e: CollectError) -> Self
Converts to this type from the input type.
Source§impl From<ConfigError> for BuildPhaseError
impl From<ConfigError> for BuildPhaseError
Source§fn from(e: ConfigError) -> Self
fn from(e: ConfigError) -> Self
Converts to this type from the input type.
Source§impl From<MergeStateError> for BuildPhaseError
impl From<MergeStateError> for BuildPhaseError
Source§fn from(e: MergeStateError) -> Self
fn from(e: MergeStateError) -> Self
Converts to this type from the input type.
Source§impl From<ResolveError> for BuildPhaseError
impl From<ResolveError> for BuildPhaseError
Source§fn from(e: ResolveError) -> Self
fn from(e: ResolveError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for BuildPhaseError
impl !RefUnwindSafe for BuildPhaseError
impl Send for BuildPhaseError
impl Sync for BuildPhaseError
impl Unpin for BuildPhaseError
impl UnsafeUnpin for BuildPhaseError
impl !UnwindSafe for BuildPhaseError
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more