pub struct CLIConnectionError {
pub message: String,
}Expand description
Error establishing or maintaining a connection to the Claude Code CLI process.
Raised when the transport layer cannot connect, the process terminates unexpectedly, or stdin/stdout communication fails.
Fields§
§message: StringHuman-readable connection error message.
Implementations§
Trait Implementations§
Source§impl Clone for CLIConnectionError
impl Clone for CLIConnectionError
Source§fn clone(&self) -> CLIConnectionError
fn clone(&self) -> CLIConnectionError
Returns a duplicate of the value. Read more
1.0.0 · 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 CLIConnectionError
impl Debug for CLIConnectionError
Source§impl Display for CLIConnectionError
impl Display for CLIConnectionError
Source§impl Error for CLIConnectionError
impl Error for CLIConnectionError
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<CLIConnectionError> for Error
impl From<CLIConnectionError> for Error
Source§fn from(source: CLIConnectionError) -> Self
fn from(source: CLIConnectionError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for CLIConnectionError
impl RefUnwindSafe for CLIConnectionError
impl Send for CLIConnectionError
impl Sync for CLIConnectionError
impl Unpin for CLIConnectionError
impl UnsafeUnpin for CLIConnectionError
impl UnwindSafe for CLIConnectionError
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