pub enum MonorepoNodeExecutionError {
EmptySteps,
MissingStep {
step: &'static str,
},
OutOfOrder {
step: &'static str,
detail: &'static str,
},
MaterializeWithoutFetch,
FetchWithoutMaterialize,
FetchMaterializeStateMismatch {
fetch: StateId,
materialize: StateId,
},
}Expand description
Failures from pure monorepo node step ordering validation.
Variants§
EmptySteps
Step list is empty (planner always emits at least ValidateDest + InitRepo).
MissingStep
Required scaffold step missing.
OutOfOrder
A step appeared before its prerequisites or after a later-ranked step.
MaterializeWithoutFetch
MonorepoNodeExecutionStep::MaterializeState without a prior Fetch.
FetchWithoutMaterialize
MonorepoNodeExecutionStep::FetchContent not followed by Materialize.
FetchMaterializeStateMismatch
Fetch and Materialize carry different content-state ids.
Trait Implementations§
Source§impl Clone for MonorepoNodeExecutionError
impl Clone for MonorepoNodeExecutionError
Source§fn clone(&self) -> MonorepoNodeExecutionError
fn clone(&self) -> MonorepoNodeExecutionError
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for MonorepoNodeExecutionError
impl Debug for MonorepoNodeExecutionError
Source§impl Display for MonorepoNodeExecutionError
impl Display for MonorepoNodeExecutionError
impl Eq for MonorepoNodeExecutionError
Source§impl Error for MonorepoNodeExecutionError
impl Error for MonorepoNodeExecutionError
1.30.0 · 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()
impl StructuralPartialEq for MonorepoNodeExecutionError
Auto Trait Implementations§
impl Freeze for MonorepoNodeExecutionError
impl RefUnwindSafe for MonorepoNodeExecutionError
impl Send for MonorepoNodeExecutionError
impl Sync for MonorepoNodeExecutionError
impl Unpin for MonorepoNodeExecutionError
impl UnsafeUnpin for MonorepoNodeExecutionError
impl UnwindSafe for MonorepoNodeExecutionError
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