#[non_exhaustive]pub enum RuntimeError {
Show 14 variants
DiskMonitor {
path: PathBuf,
source: Error,
},
Reuse {
phase: String,
path: PathBuf,
reason: String,
},
PythonPrerequisite {
interpreter: PathBuf,
reason: String,
},
ExecutionCancelled,
Presentation {
source: Box<dyn Error + Send + Sync + 'static>,
},
OutputScope {
path: PathBuf,
source: Error,
},
Task {
task: String,
source: Box<dyn Error + Send + Sync + 'static>,
},
TaskPanicked {
task: String,
},
TaskTimedOut {
task: String,
timeout: Duration,
},
TaskCancelled {
task: String,
},
PhaseTimedOut {
phase: String,
timeout: Duration,
},
StartWorker {
scope: String,
source: Error,
},
ReplicatePanicked {
index: u64,
},
Replicate {
index: u64,
source: Box<RuntimeError>,
},
}Expand description
A failure after an immutable study passed preflight.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
DiskMonitor
Required output-filesystem monitoring failed; active work is cancelled.
Fields
Reuse
A skipped prerequisite has no matching, successfully completed source result.
Fields
PythonPrerequisite
The selected active Python environment lacks compatible Workflow tools.
Fields
ExecutionCancelled
Interactive UI requested cooperative cancellation of the execution.
Presentation
The automatically selected presentation adapter could not start, publish lifecycle output, poll input, draw, or finish cleanly.
OutputScope
Runtime could not create an inferred execution or replicate scope.
Task
An execution-unit or program invocation returned an application, process, state, observation, or persistence error.
Fields
TaskPanicked
A task invocation panicked. Runtime fails any active member recording before reporting this stable task identity.
TaskTimedOut
A task exceeded its timeout; execution units stop cooperatively while external programs are terminated by Runtime.
TaskCancelled
A running task stopped because Runtime cancelled it. Execution units stop cooperatively while external programs are terminated.
PhaseTimedOut
A phase exceeded its timeout. Its active execution-unit tasks stop cooperatively and its active external programs are terminated.
StartWorker
Runtime could not start an operating-system worker thread.
ReplicatePanicked
A replicate worker panicked.
Replicate
A replicate failed under either failure policy.
Fields
source: Box<RuntimeError>Original runtime failure.
Trait Implementations§
Source§impl Debug for RuntimeError
impl Debug for RuntimeError
Source§impl Display for RuntimeError
impl Display for RuntimeError
Source§impl Error for RuntimeError
impl Error for RuntimeError
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()
Source§impl From<RuntimeError> for WorkflowError
impl From<RuntimeError> for WorkflowError
Source§fn from(source: RuntimeError) -> Self
fn from(source: RuntimeError) -> Self
Auto Trait Implementations§
impl !RefUnwindSafe for RuntimeError
impl !UnwindSafe for RuntimeError
impl Freeze for RuntimeError
impl Send for RuntimeError
impl Sync for RuntimeError
impl Unpin for RuntimeError
impl UnsafeUnpin for RuntimeError
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§impl<T> Pointable for T
impl<T> Pointable for T
Source§impl<T> ToCompactString for Twhere
T: Display,
impl<T> ToCompactString for Twhere
T: Display,
Source§fn try_to_compact_string(&self) -> Result<CompactString, ToCompactStringError>
fn try_to_compact_string(&self) -> Result<CompactString, ToCompactStringError>
ToCompactString::to_compact_string() Read moreSource§fn to_compact_string(&self) -> CompactString
fn to_compact_string(&self) -> CompactString
CompactString. Read more