pub enum PhaseError {
ExecutionFailed {
phase: String,
code: i32,
},
DependencyNotSatisfied {
phase: String,
dependency: String,
},
InvalidTransition {
from: String,
to: String,
},
OutputValidationFailed {
phase: String,
reason: String,
},
PacketCreationFailed {
phase: String,
reason: String,
},
ContextCreationFailed {
phase: String,
reason: String,
},
Timeout {
phase: String,
timeout_seconds: u64,
},
Interrupted {
phase: String,
},
ResourceLimitExceeded {
phase: String,
resource: String,
limit: String,
},
ExecutionFailedWithStderr {
phase: String,
code: i32,
stderr_tail: String,
},
PartialOutputSaved {
phase: String,
partial_path: String,
},
}Expand description
Phase execution errors
Variants§
ExecutionFailed
DependencyNotSatisfied
InvalidTransition
OutputValidationFailed
PacketCreationFailed
ContextCreationFailed
Timeout
Interrupted
ResourceLimitExceeded
ExecutionFailedWithStderr
PartialOutputSaved
Trait Implementations§
Source§impl Debug for PhaseError
impl Debug for PhaseError
Source§impl Display for PhaseError
impl Display for PhaseError
Source§impl Error for PhaseError
impl Error for PhaseError
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()
Source§impl From<PhaseError> for XCheckerError
impl From<PhaseError> for XCheckerError
Source§fn from(source: PhaseError) -> Self
fn from(source: PhaseError) -> Self
Converts to this type from the input type.
Source§impl UserFriendlyError for PhaseError
impl UserFriendlyError for PhaseError
Source§fn user_message(&self) -> String
fn user_message(&self) -> String
Get a user-friendly error message
Source§fn suggestions(&self) -> Vec<String>
fn suggestions(&self) -> Vec<String>
Get suggested actions to resolve the error
Source§fn category(&self) -> ErrorCategory
fn category(&self) -> ErrorCategory
Get the error category for grouping similar errors
Auto Trait Implementations§
impl Freeze for PhaseError
impl RefUnwindSafe for PhaseError
impl Send for PhaseError
impl Sync for PhaseError
impl Unpin for PhaseError
impl UnsafeUnpin for PhaseError
impl UnwindSafe for PhaseError
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