pub enum ExecError {
LayerFailed {
events: Vec<BuildEvent>,
},
Plan(PlanError),
Cache(CacheError),
}Expand description
Errors raised while executing a Plan.
Variants§
LayerFailed
At least one action in a layer reported an error. The vector contains every event recorded so far (across all completed layers + the current failing layer), so callers can render a full report.
Fields
§
events: Vec<BuildEvent>Every event recorded up to and including the failing layer.
Plan(PlanError)
Underlying Plan::compute failure surfaced through the orchestrator.
Cache(CacheError)
Cache write failure while persisting an event.
Trait Implementations§
Source§impl Error for ExecError
impl Error for ExecError
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<CacheError> for ExecError
impl From<CacheError> for ExecError
Source§fn from(source: CacheError) -> Self
fn from(source: CacheError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for ExecError
impl !UnwindSafe for ExecError
impl Freeze for ExecError
impl Send for ExecError
impl Sync for ExecError
impl Unpin for ExecError
impl UnsafeUnpin for ExecError
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