pub enum FstarError {
Process(String),
FstarNotFound(String),
Protocol(String),
Config(String),
Io(Error),
Json(Error),
Timeout(u64),
Cancelled,
ConnectionClosed,
InvalidPosition {
line: u32,
column: u32,
},
}Expand description
Main error type for the F* LSP server.
Variants§
Process(String)
FstarNotFound(String)
Protocol(String)
Config(String)
Io(Error)
Json(Error)
Timeout(u64)
Cancelled
ConnectionClosed
InvalidPosition
Trait Implementations§
Source§impl Debug for FstarError
impl Debug for FstarError
Source§impl Display for FstarError
impl Display for FstarError
Source§impl Error for FstarError
impl Error for FstarError
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 FstarError
impl From<Error> for FstarError
Auto Trait Implementations§
impl Freeze for FstarError
impl !RefUnwindSafe for FstarError
impl Send for FstarError
impl Sync for FstarError
impl Unpin for FstarError
impl !UnwindSafe for FstarError
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