pub enum RunnerError {
DetectionFailed {
reason: String,
},
WslNotAvailable {
reason: String,
},
WslExecutionFailed {
reason: String,
},
NativeExecutionFailed {
reason: String,
},
ConfigurationInvalid {
reason: String,
},
ClaudeNotFoundInRunner {
runner: String,
},
Timeout {
timeout_seconds: u64,
},
}Expand description
Runner execution errors for cross-platform Claude CLI execution
Variants§
DetectionFailed
WslNotAvailable
WslExecutionFailed
NativeExecutionFailed
ConfigurationInvalid
ClaudeNotFoundInRunner
Timeout
Trait Implementations§
Source§impl Debug for RunnerError
impl Debug for RunnerError
Source§impl Display for RunnerError
impl Display for RunnerError
Source§impl Error for RunnerError
impl Error for RunnerError
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<RunnerError> for XCheckerError
impl From<RunnerError> for XCheckerError
Source§fn from(source: RunnerError) -> Self
fn from(source: RunnerError) -> Self
Converts to this type from the input type.
Source§impl UserFriendlyError for RunnerError
impl UserFriendlyError for RunnerError
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 RunnerError
impl RefUnwindSafe for RunnerError
impl Send for RunnerError
impl Sync for RunnerError
impl Unpin for RunnerError
impl UnsafeUnpin for RunnerError
impl UnwindSafe for RunnerError
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