pub enum CopilotError {
JsonParse(Error),
Io(Error),
InvalidLspMessage {
message: String,
},
WorkspaceStorageNotFound {
path: String,
},
SessionNotFound {
session_id: String,
},
}Expand description
Errors that can occur during Copilot log processing
Variants§
JsonParse(Error)
Error parsing JSON
Io(Error)
Error reading log file
InvalidLspMessage
Invalid LSP message format
WorkspaceStorageNotFound
Workspace storage not found
SessionNotFound
Chat session not found
Trait Implementations§
Source§impl Debug for CopilotError
impl Debug for CopilotError
Source§impl Display for CopilotError
impl Display for CopilotError
Source§impl Error for CopilotError
impl Error for CopilotError
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<Error> for CopilotError
impl From<Error> for CopilotError
Auto Trait Implementations§
impl Freeze for CopilotError
impl !RefUnwindSafe for CopilotError
impl Send for CopilotError
impl Sync for CopilotError
impl Unpin for CopilotError
impl !UnwindSafe for CopilotError
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